fix up display of patch, otherwise it's less clear
parent
16c6bdb4c1
commit
2cf8730627
|
@ -4,17 +4,19 @@ If I click on "Czars in Russia", I'd like Ikiwiki to create "Czars\_in\_Russia.m
|
||||||
|
|
||||||
> There's a simple patch that can do this:
|
> There's a simple patch that can do this:
|
||||||
|
|
||||||
> --- a/IkiWiki.pm
|
<pre>
|
||||||
> +++ b/IkiWiki.pm
|
-- a/IkiWiki.pm
|
||||||
> @@ -584,7 +584,7 @@ sub htmllink ($$$;@) {
|
+++ b/IkiWiki.pm
|
||||||
> return "<span class=\"createlink\"><a href=\"".
|
@@ -584,7 +584,7 @@ sub htmllink ($$$;@) {
|
||||||
> cgiurl(
|
return "<span class=\"createlink\"><a href=\"".
|
||||||
> do => "create",
|
cgiurl(
|
||||||
> - page => pagetitle(lc($link), 1),
|
do => "create",
|
||||||
> + page => pagetitle($link, 1),
|
- page => pagetitle(lc($link), 1),
|
||||||
> from => $lpage
|
+ page => pagetitle($link, 1),
|
||||||
> ).
|
from => $lpage
|
||||||
> "\">?</a>$linktext</span>"
|
).
|
||||||
|
"\">?</a>$linktext</span>"
|
||||||
|
</pre>
|
||||||
|
|
||||||
> This is fine if you don't mind mixed or randomly cased filenames getting
|
> This is fine if you don't mind mixed or randomly cased filenames getting
|
||||||
> created. Otoh, if the link happened to start a sentence and so had its
|
> created. Otoh, if the link happened to start a sentence and so had its
|
||||||
|
|
Loading…
Reference in New Issue