smcvpostcomment: explain what $fake is for
parent
42b15f7633
commit
29862a8cc8
|
@ -215,6 +215,8 @@ sub sessioncgi ($$) { #{{{
|
||||||
# - this means that if they do, rocks fall and everyone dies
|
# - this means that if they do, rocks fall and everyone dies
|
||||||
|
|
||||||
if ($form->submitted eq PREVIEW) {
|
if ($form->submitted eq PREVIEW) {
|
||||||
|
# $fake is a location that has the same number of slashes
|
||||||
|
# as the eventual location of this comment.
|
||||||
my $fake = "$page/_" . PLUGIN . "hypothetical";
|
my $fake = "$page/_" . PLUGIN . "hypothetical";
|
||||||
my $preview = IkiWiki::htmlize($fake, $page, 'mdwn',
|
my $preview = IkiWiki::htmlize($fake, $page, 'mdwn',
|
||||||
IkiWiki::linkify($page, $page,
|
IkiWiki::linkify($page, $page,
|
||||||
|
|
Loading…
Reference in New Issue