diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-15 14:57:32 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-15 14:57:32 +0200 |
commit | 209b88d372d329c132b237cfb57df117764b0093 (patch) | |
tree | 8a1f57d9cb4446c74db101fc9a7bbcaa398c3606 /perl/Locale/Po4a | |
parent | 10b2dd16cca303f4c988fd0cc274a8919e24353a (diff) | |
parent | 7d6fc0d0edd7c00983dbffab544a301d2d8121e4 (diff) |
Merge branch '_multilang' into allinone-multilang
Diffstat (limited to 'perl/Locale/Po4a')
-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 ); } |