diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-15 14:57:23 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-10-15 14:57:23 +0200 |
commit | c67700c46dd282879dcccf1db2eb77ad22055401 (patch) | |
tree | 2b943b76630352b5d4c9f3da07c2f425f600c478 /perl | |
parent | 3c6d464e2ea7232e101ee872450b3799e1877cca (diff) | |
parent | 295d5f1739f2fc7dd7a3a5fd85df6ee194559390 (diff) |
Merge branch 'master' into _da
Diffstat (limited to 'perl')
-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 ); } |