summaryrefslogtreecommitdiff
path: root/gettext-tools/src/its.c
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/src/its.c')
-rw-r--r--gettext-tools/src/its.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gettext-tools/src/its.c b/gettext-tools/src/its.c
index 394b5f06d..a1d78431d 100644
--- a/gettext-tools/src/its.c
+++ b/gettext-tools/src/its.c
@@ -1661,10 +1661,13 @@ its_rule_list_extract_text (its_rule_list_ty *rules,
comment = xstrdup (value);
else
{
+ value = its_value_list_get_value (values, "escape");
+ no_escape = value != NULL && strcmp (value, "no") == 0;
+
value = its_value_list_get_value (values, "locNotePointer");
if (value)
comment = _its_get_content (rules, node, value, ITS_WHITESPACE_TRIM,
- false);
+ no_escape);
}
if (comment != NULL && *comment != '\0')