View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005490 | Composr | core | public | 2023-12-07 20:43 | 2024-09-13 02:54 |
Reporter | Patrick Schmalstig | Assigned To | Chris Graham | ||
Severity | Trivial-bug | ||||
Status | assigned | Resolution | open | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0005490: 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. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-12-07 20:43 | Patrick Schmalstig | New Issue | |
2023-12-07 20:43 | Patrick Schmalstig | Status | non-assigned => assigned |
2023-12-07 20:43 | Patrick Schmalstig | Assigned To | => Chris Graham |
2024-09-13 02:54 | Patrick Schmalstig | Note Added: 0009357 |