Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Antoine Martin
quickref
Commits
4e84d13c
Commit
4e84d13c
authored
Nov 23, 2017
by
Antoine Martin
Browse files
Insert string as is prevents regex syntax problems
parent
502b2fa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
file.lisp
View file @
4e84d13c
...
...
@@ -79,12 +79,8 @@
(
read-write-file
(
html-pathname
html-text
stream
)
(
write-sequence
(
regex-replace
"\\<h2 class=\\\"chapter\\\"\\>1 Introduction\\<\\/h2\\>"
"\\<h2 class=\\\"chapter\\\"\\>1 Introduction\\<\\/h2\\>
\\n
"
html-text
(
format
nil
"<h2 class=\"chapter\">1 Introduction</h2>
<pre>
~A
</pre>"
(
file-to-string
readme-pathname
)))
(
list
:match
(
file-to-string
readme-pathname
)))
stream
)))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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