Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Arkani: Can now use ] anywhere not at the end of a link

  • Loading branch information...
commit 4e8ee30e0cb5ed11761b82550b0bcbe41653c27e 1 parent cd49381
Alan Manuel K. Gloria authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 wiki-arc/wiki-arc.arc
View
6 wiki-arc/wiki-arc.arc
@@ -346,13 +346,13 @@
; should really be (many anything), however parsecomb.arc
; currently does not do backtracking on 'many
(seq open-br
- (sem on-plain-wiki-link (many (anything-but #\| #\])))
+ (sem on-plain-wiki-link (many (anything-but #\| close-br)))
close-br))
(= joined-wiki-link
(seq open-br
(sem on-article-wiki-link (many (anything-but #\|)))
#\|
- (sem on-text-wiki-link (many (anything-but #\])))
+ (sem on-text-wiki-link (many (anything-but close-br)))
close-br))
(= formatting
(alt
@@ -546,7 +546,7 @@
('li
('(a href (+ "?title=" (urlencode p) "&action=edit"))
('b (pr "Start the ")
- ('i (pr (eschtml p)))
+ ('i (pr (eschtml (_->space p))))
(pr " article")))
(pr ".")))))
display-content
Please sign in to comment.
Something went wrong with that request. Please try again.