Skip to content

Fix [list] and [*] BBCode newline handling for old posts#1628

Merged
w8tcha merged 1 commit into
YAFNET:masterfrom
mt0321:fix/bb-code
Apr 1, 2026
Merged

Fix [list] and [*] BBCode newline handling for old posts#1628
w8tcha merged 1 commit into
YAFNET:masterfrom
mt0321:fix/bb-code

Conversation

@mt0321

@mt0321 mt0321 commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

The fix for #803 (3c04880) required \r\n after [list] and [*] tags, breaking rendering of older posts that use \n only or no newline. Change \r\n to (\r?\n)* or (\r?\n)+ to handle all line ending variants.

The fix for YAFNET#803 (3c04880) required \r\n after [list] and [*] tags,
breaking rendering of older posts that use \n only or no newline.
Change \r\n to (\r?\n)* / (\r?\n)+ to handle all line ending variants.
@w8tcha
w8tcha merged commit 2a0d613 into YAFNET:master Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants