diff options
author | Daiki Ueno <ueno@gnu.org> | 2015-12-17 16:21:58 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2015-12-17 16:21:58 +0900 |
commit | 3a1a9ba8f97140de577911bcda80e0ca11e9aa70 (patch) | |
tree | fd6411a4f19618bc6f316f6a8494879860f08046 | |
parent | 04dcad093cf838f536950054a63b5c6d06cb32f6 (diff) | |
download | external_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.c | 2 |
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: |