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
71d76abf
Commit
71d76abf
authored
Nov 23, 2020
by
Zvi Devir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix minor bug with <wbr>
parent
54683941
Pipeline
#101
failed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SyntaxLaw.pm
SyntaxLaw.pm
+1
-1
No files found.
SyntaxLaw.pm
View file @
71d76abf
...
...
@@ -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
;
...
...
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