diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-15 14:57:26 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-15 14:57:26 +0200 |
commit | 6428160b3c7aefed77a442fc94dcf2f2eb2ffc4b (patch) | |
tree | d5b701904c443e9e92e8d9bec7026c7b38ba13e9 | |
parent | ae2ee22f4fa996964b25cba38ef6612d943d2a09 (diff) | |
parent | c92e4f75836aea6ddf655e85bdf2d25deb75a7f3 (diff) |
Merge branch '_scs' into scs
-rw-r--r-- | perl/Locale/Po4a/Text.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Locale/Po4a/Text.pm b/perl/Locale/Po4a/Text.pm index 3ceeec9..ee56046 100644 --- a/perl/Locale/Po4a/Text.pm +++ b/perl/Locale/Po4a/Text.pm @@ -245,7 +245,8 @@ sub parse { $paragraph =~ /^>/ms # blockquote or $paragraph =~ /^( {8}|\t)/ms # monospaced or $paragraph =~ /^\$(\S+[{}]\S*\s*)+/ms # Xapian macro - or $paragraph =~ /[<>]/ms # maybe html + or $paragraph =~ /<(?![a-z]+[:@])/ms # maybe html (tags but not wiki <URI>) + or $paragraph =~ /^[^<]+>/ms # maybe html (tag with vertical space) or $paragraph =~ /^\s*\[\[\!\S[^\]]+$/ms # macro begin ); } |