dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3561f72
)
Allow [[#someSection]]-type links, they are in active use and similar to [[/subpage]]
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Fri, 24 Mar 2006 17:49:00 +0000
(17:49 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Fri, 24 Mar 2006 17:49:00 +0000
(17:49 +0000)
maintenance/parserTests.txt
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.txt
b/maintenance/parserTests.txt
index
dabf177
..
4d1aff0
100644
(file)
--- a/
maintenance/parserTests.txt
+++ b/
maintenance/parserTests.txt
@@
-1174,11
+1174,12
@@
Link containing % as a double hex sequence interpreted to hex sequence
!!end
!! test
-Link containing "#<" and "#>" % as a hex sequences
+Link containing "#<" and "#>" % as a hex sequences- these are valid section anchors
+Example for such a section: == < ==
!! input
-[[%23%3c]]
<!-- Render this as "[[#%3c]]" maybe.. ? -->[[%23%3e]]<!-- ..."[[#%3e]]" ? -->
+[[%23%3c]]
[[%23%3e]]
!! result
-<p>
[[%23%3c]][[%23%3e]]
+<p>
<a href="#.3C" title="">#<</a><a href="#.3E" title="">#></a>
</p>
!! end