-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
6.0.3, 6.0.6
-
Severity 3 - Minor
-
Summary
When you paste a link and then edit again, whole paragraphs are converted to links.
Environment
Local instance, no proxy.
Steps to Reproduce
- Create a page with headings and content.
- Edit the page and type or paste a plain text web url immediately below a heading.
- Press [enter] to generate a newline. The url will be converted to an anchor tag. Do not press backspace or delete the newline.
- Update the page. The page will be saved with the url anchored, and without a newline
- Edit the page again. All content after the anchor will be converted to anchors to the same location
Expected Results
The link would be a link and the paragraphs would be plain text
Actual Results
The following storage format is the result:
<h1>Heading</h1> <p><a href="https://www.google.com/maps">https://www.google.com/maps</a></p> <p><br /></p> <p><a href="https://www.google.com/maps">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</a></p> <p><a href="https://www.google.com/maps"><br /></a></p> <h1><a href="https://www.google.com/maps">Heading</a></h1> <p><a href="https://www.google.com/maps">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</a></p> <p><a href="https://www.google.com/maps"><br /></a></p> <p><a href="https://www.google.com/maps"><br /></a></p> <h1><a href="https://www.google.com/maps">Heading</a></h1> <p><a href="https://www.google.com/maps">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</a></p>
Notes
Please see screenshots of the issue attached.
Workaround
Correct the formatting by editing again.
- duplicates
-
CONFSERVER-46312 When editing a page, text is being changed to a hyperlink
- Closed