The httpserver now grabs the IP address of the client. RST gen fix for smileys.
This commit is contained in:
parent
d6ae98a652
commit
f9089db681
2 changed files with 5 additions and 2 deletions
|
|
@ -337,7 +337,7 @@ proc renderImage(d: PDoc, n: PRstNode, result: var string) =
|
|||
|
||||
proc renderSmiley(d: PDoc, n: PRstNode, result: var string) =
|
||||
dispA(d.target, result,
|
||||
"""<img src="images/smilies/$1.gif" width="15"
|
||||
"""<img src="/images/smilies/$1.gif" width="15"
|
||||
height="17" hspace="2" vspace="2" />""",
|
||||
"\\includegraphics{$1}", [n.text])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue