summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-23 00:47:12 +0200
committerJonas Smedegaard <dr@jones.dk>2013-10-13 00:47:51 +0200
commit9948516af9b8356e0c45edf62f5551807c074ec8 (patch)
tree32b99cccfa5e5d09bde9a935ce5c48d897f613ab
parent0d6ad3e28e389137c015620967edf02c309350a5 (diff)
Disable wrap on macro begin at middle of a line.
-rw-r--r--Locale/Po4a/Text.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Locale/Po4a/Text.pm b/Locale/Po4a/Text.pm
index ee56046..32f9dec 100644
--- a/Locale/Po4a/Text.pm
+++ b/Locale/Po4a/Text.pm
@@ -247,7 +247,7 @@ sub parse {
or $paragraph =~ /^\$(\S+[{}]\S*\s*)+/ms # Xapian macro
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
+ or $paragraph =~ /\[\[\!\S[^\]]+$/ms # macro begin
);
}
if ($end_of_paragraph) {