Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
openlaw-bot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Resource-IL
openlaw-bot
Commits
3bfcf11f
Commit
3bfcf11f
authored
Nov 23, 2020
by
Zvi Devir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor correction
parent
71d76abf
Pipeline
#102
failed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SyntaxLaw.pm
SyntaxLaw.pm
+2
-2
No files found.
SyntaxLaw.pm
View file @
3bfcf11f
...
...
@@ -192,9 +192,9 @@ sub convert {
s/(\.{21,})/'<span style⌸"word-break: break-all;">' . '. 'x(length($1)-1) . '.<\/span>'/g
e
;
s/(\.{4,20})/'. 'x(length($1)-1) . '.'/g
e
;
s/(_{3,})/<span style⌸"font-fa
ce
: Arial; font-size: 80%;">$1<\/span>/g
;
s/(_{3,})/<span style⌸"font-fa
mily
: 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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment