-
Bug
-
Resolution: Invalid
-
Trivial
-
None
-
3.3.4
-
None
-
Chrome 106, Windows 10
When a BBCode [/url] closing tag is followed by a punctuation character, word wrapping can still insert a line break between the end of the generated URL and the punctuation.
For example, the following:
...there is also [url=https://redacted]an issue preventing Move/Look from being reassigned[/url], so resetting...
May be rendered as (Chrome 106, Windows 10) the attached screenshot. Note the comma is on the following line.
Steps:
1. Create a BBCode URL followed by a punctuation mark.
2. Enter an appropriate amount of text such that the URL is at the end of a word-wrapped line.
3. View the rendered post.
Expected: Punctuation stays with URL.
Actual: Word-wrap inserts line break between URL and punctuation.
Solution: phpBB should insert non-breaking space characters ( in HTML) before punctuation if certain punctuation characters immediately follow a URL with no whitespace separating the two.