Commit 71d76abf authored by Zvi Devir's avatar Zvi Devir

fix minor bug with <wbr>

parent 54683941
Pipeline #101 failed with stage
in 5 seconds
......@@ -194,7 +194,7 @@ sub convert {
s/(_{3,})/<span style⌸"font-face: Arial; font-size: 80%;">$1<\/span>/g;
s/((?:[A-Za-zא-ת0-9]+[\\\/]){2,}[A-Za-zא-ת0-9]+)/ $1 =~ s|(?<=[\\\/])|<wbr>|gr /eg;
s/( ["”“]?(?:[A-Za-zא-ת0-9]+[\\\/]){2,}[A-Za-zא-ת0-9]+[,;."”“]?(?: |\n))/ $1 =~ s|(?<=[\\\/])|<wbr>|gr /eg;
# Replace vulgar fractions
s/([½⅓⅔¼¾⅕⅖⅗⅘⅙⅚⅐⅛⅜⅝⅞⅑⅒↉])(\d+)/$2$1/g;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment