diff --git a/po/check-markup b/po/check-markup
index 6450e1fe31f827805f8ec403c93195482df12894..61bee8d42b85e997b9250d62917d6b723a007cb7 100755 (executable)
--- a/po/check-markup
+++ b/po/check-markup
}
}
+ 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");