Permalink
Browse files

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

  • Loading branch information...
1 parent cd49381 commit 4e8ee30e0cb5ed11761b82550b0bcbe41653c27e Alan Manuel K. Gloria committed Mar 20, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 wiki-arc/wiki-arc.arc
View
@@ -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

0 comments on commit 4e8ee30

Please sign in to comment.