LMS-2498 Prevent Users insert text after a quoted structure
Request Summary
When creating a quoted structure, you can use the tab key to navigate outside the quoted structure and enter additional spaces or text, this can result in the PDF rendering incorrectly. Either prevent users entering text here or open the appropriate dialogue box to add the following text.
Background
In https://lawmaker.atlassian.net/browse/LMS-2443 this ‘novice’ user may have used this method to add the following text, which then created an additional space in the XML causing the full stop to render below the quoted structure rather than at the end of the last line of the QS. There may also be another can when user did this to enter a paragraph. Preventing users from doing this should reduce validation errors needed to be resolved by the service team.
This issue was also picked up by TSO and Jim whilst reviewing an UKPGA with incorrect mark-up (https://tsoltd.atlassian.net/browse/LEGDEV-6205 )
In this case, the text following the quote (“, and“) is not within the <inline name=”appendText”>
<p><mod>as if for subsection (1) of that section there were substituted—<quotedStructure> <subsection> <num>(1)</num> ... <wrapUp> <p>the Gas and Electricity Markets Authority must publish a notice under this section (referred to in this Part as a “market study notice”).”, and</p> </wrapUp> </subsection> </quotedStructure><inline name="AppendText"/></mod></p>
Status | Feature logged |
---|---|
Lawmaker components affected | Quoted Structure, XML |
Raised by organisation(s) | TNA |
Planned version to be included in (if any) |
|
Related development ticket(s) |
|