Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
OCamlPro
www
Commits
dea11196
Commit
dea11196
authored
Nov 04, 2021
by
Artemiy
Browse files
doc
parent
2bf1ce2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/blog.ml
src/blog.ml
+2
-0
No files found.
src/blog.ml
View file @
dea11196
...
...
@@ -112,6 +112,8 @@ let normalize_url target =
|
c
->
c
|>
Char
.
lowercase_ascii
)
(
Ubase
.
from_utf8
target
)
(** [normalize_tag tag] takes a tag and rids it of unwanted characters, such as
utf8, speces, dashes and underscores *)
let
normalize_tag
tag
=
let
string_map_partial
f
s
=
let
b
=
Buffer
.
create
(
String
.
length
s
)
in
...
...
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