summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2015-12-17 16:21:58 +0900
committerDaiki Ueno <ueno@gnu.org>2015-12-17 16:21:58 +0900
commit3a1a9ba8f97140de577911bcda80e0ca11e9aa70 (patch)
treefd6411a4f19618bc6f316f6a8494879860f08046
parent04dcad093cf838f536950054a63b5c6d06cb32f6 (diff)
downloadexternal_gettext-3a1a9ba8f97140de577911bcda80e0ca11e9aa70.zip
external_gettext-3a1a9ba8f97140de577911bcda80e0ca11e9aa70.tar.gz
external_gettext-3a1a9ba8f97140de577911bcda80e0ca11e9aa70.tar.bz2
its: Allow CDATA and comments in translatable node
* gettext-tools/src/its.c (its_rule_list_is_translatable): Don't return false on CDATA and comments.
-rw-r--r--gettext-tools/src/its.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gettext-tools/src/its.c b/gettext-tools/src/its.c
index a1d7843..ce4880a 100644
--- a/gettext-tools/src/its.c
+++ b/gettext-tools/src/its.c
@@ -1490,7 +1490,9 @@ its_rule_list_is_translatable (its_rule_list_ty *rules,
break;
case XML_TEXT_NODE:
+ case XML_CDATA_SECTION_NODE:
case XML_ENTITY_REF_NODE:
+ case XML_COMMENT_NODE:
break;
default: