From 295d5f1739f2fc7dd7a3a5fd85df6ee194559390 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 14 Oct 2008 17:13:30 +0200 Subject: Ignore from html detection in po4a plugin. --- perl/Locale/Po4a/Text.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl/Locale') 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 ) + or $paragraph =~ /^[^<]+>/ms # maybe html (tag with vertical space) or $paragraph =~ /^\s*\[\[\!\S[^\]]+$/ms # macro begin ); } -- cgit v1.2.3 submit' value='switch'/> Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tags/57/c3/20170612160602.21C926C6B@lxp5.free-owl.de/sys')
-rw-r--r--tags/57/c3/20170612160602.21C926C6B@lxp5.free-owl.de/sys0
1 files changed, 0 insertions, 0 deletions