Commit 3bfcf11f authored by Zvi Devir's avatar Zvi Devir

Minor correction

parent 71d76abf
Pipeline #102 failed with stage
in 8 seconds
......@@ -192,9 +192,9 @@ sub convert {
s/(\.{21,})/'<span style⌸"word-break: break-all;">' . '. 'x(length($1)-1) . '.<\/span>'/ge;
s/(\.{4,20})/'. 'x(length($1)-1) . '.'/ge;
s/(_{3,})/<span style⌸"font-face: Arial; font-size: 80%;">$1<\/span>/g;
s/(_{3,})/<span style⌸"font-family: Arial; font-size: 80%;">$1<\/span>/g;
s/( ["”“]?(?:[A-Za-zא-ת0-9]+[\\\/]){2,}[A-Za-zא-ת0-9]+[,;."”“]?(?: |\n))/ $1 =~ s|(?<=[\\\/])|<wbr>|gr /eg;
s/( ["”“]?(?:[A-Za-zא-ת0-9]{3,}[\\\/]){2,}[A-Za-zא-ת0-9]{3,}[,;."”“]?(?: |\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