summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-15 14:57:27 +0200
committerJonas Smedegaard <dr@jones.dk>2008-10-15 14:57:27 +0200
commita236d9ddcc80603a4c2eb23d21bdc906a33cdb72 (patch)
tree864713d8ec1088c7d8b7a6fdf73b8fc33dd39534 /perl
parent3b14978d233a6565fd13f479b26993303e857ce6 (diff)
parentc67700c46dd282879dcccf1db2eb77ad22055401 (diff)
Merge branch '_da' into da
Diffstat (limited to 'perl')
-rw-r--r--perl/Locale/Po4a/Text.pm3
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
);
}