Skip to content

Commit

Permalink
Do not always strip literal text
Browse files Browse the repository at this point in the history
Fixes #189
  • Loading branch information
hughsie committed Jul 1, 2024
1 parent bc741c3 commit addab1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/xb-builder-node.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ xb_builder_node_parse_literal_text(XbBuilderNode *self, const gchar *text, gssiz
tmp = g_string_sized_new((gsize)text_len_safe + 1);
split = g_strsplit(text, "\n", -1);
for (guint i = 0; split[i] != NULL; i++) {
/* remove leading and trailing whitespace */
g_strstrip(split[i]);

/* if this is a blank line we end the paragraph mode
* and swallow the newline. If we see exactly two
Expand Down

0 comments on commit addab1c

Please sign in to comment.