diff options
| author | Colin Marquardt <github@marquardt-home.de> | 2007-01-27 14:14:30 +0000 |
|---|---|---|
| committer | cmarqu <cmarqu@users.sourceforge.net> | 2007-01-27 14:14:30 +0000 |
| commit | 7f04ccda665d0014b438bcc3aa7451626c58901e (patch) | |
| tree | fbcb8f05692f5e02d50509cc6aa169f8fe934d0a | |
| parent | use bare layer names for layer names in gimp rather than file paths (diff) | |
| download | inkscape-7f04ccda665d0014b438bcc3aa7451626c58901e.tar.gz inkscape-7f04ccda665d0014b438bcc3aa7451626c58901e.zip | |
Add check for well-formedness of entity declarations. We found a
translation where these were wrong, and only GTK spotted this.
(bzr r2295)
| -rwxr-xr-x | po/check-markup | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/po/check-markup b/po/check-markup index 6450e1fe3..61bee8d42 100755 --- a/po/check-markup +++ b/po/check-markup @@ -66,6 +66,11 @@ sub check_str ($) { } } + if ($str =~ m{&#[^0-9]+;}) { + po_error("Entity declaration error (must look like '{')"); + return 0; + } + # Check for attributes etc. in non-<span> element. if ($str =~ m{<([bisu]|big|su[bp]|small|tt)\b(?! *)>}) { po_error("Unexpected characters in <$1> tag"); |
