View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5490 | Composr | core | public | 2023-12-07 20:43 | 2024-09-13 02:54 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | trivial | ||
Status | assigned | Resolution | open | ||
Summary | 5490: comcode_to_text: Comcode not stripping newlines from inside tags when test indicates we expect it to | ||||
Description | The comcode_to_text unit test uses newlines inside Comcode tags, e.g. [box="box title"] box contents [/box] ...which results in a newline from strip_comcode since a newline exists after "box contents" and before the ending box tag. Moving the end box tag to the same line as box contents results in the newline no longer being present. My question is if strip_comcode is supposed to remove trailing newlines when they exist within Comcode tags, or not. | ||||
Additional Information | @@ -17,4 +17,5 @@ box contents + **test bold** @@ -23,4 +24,6 @@ ***test highlight*** + + blah @@ -33,4 +36,6 @@ bar + + (unnamed) | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||