View Issue Details

IDProjectCategoryView StatusLast Update
0005490Composrcorepublic2024-09-13 02:54
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityTrivial-bug 
Status assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0005490: comcode_to_text: Comcode not stripping newlines from inside tags when test indicates we expect it to
DescriptionThe 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)
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2024-09-13 02:54

administrator   ~0009357

I believe this is a Windows issue with newline format

Issue History

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