From 6ba683a8cb97fd20a542356eebb07776be6347a3 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. --- Locale/Po4a/Text.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Locale') diff --git a/Locale/Po4a/Text.pm b/Locale/Po4a/Text.pm index 3ceeec9..ee56046 100644 --- a/Locale/Po4a/Text.pm +++ b/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 r Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/7b/64/20170326160322.97ECD5DC4@lxp5.free-owl.de
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/7b/64/20170326160322.97ECD5DC4@lxp5.free-owl.de')
-rw-r--r--tags/7b/64/20170326160322.97ECD5DC4@lxp5.free-owl.de/sys0
-rw-r--r--tags/7b/64/20170326160322.97ECD5DC4@lxp5.free-owl.de/unread0
2 files changed, 0 insertions, 0 deletions