diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-10-23 00:47:12 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-10-13 00:47:51 +0200 |
commit | 9948516af9b8356e0c45edf62f5551807c074ec8 (patch) | |
tree | 32b99cccfa5e5d09bde9a935ce5c48d897f613ab /Locale | |
parent | 0d6ad3e28e389137c015620967edf02c309350a5 (diff) |
Disable wrap on macro begin at middle of a line.
Diffstat (limited to 'Locale')
-rw-r--r-- | Locale/Po4a/Text.pm | 2 |
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) { |