Merge pull request #3175 from singularperturbation/feature/rst-forum-issue-41
Fix for inline image in rstgen (nimforum #41)
This commit is contained in:
commit
7af92708af
1 changed files with 1 additions and 1 deletions
|
|
@ -755,7 +755,7 @@ proc renderTocEntries*(d: var RstGenerator, j: var int, lvl: int,
|
|||
|
||||
proc renderImage(d: PDoc, n: PRstNode, result: var string) =
|
||||
template valid(s): expr =
|
||||
s.len > 0 and allCharsInSet(s, {'/',':','%','_','\\','\128'..'\xFF'} +
|
||||
s.len > 0 and allCharsInSet(s, {'.','/',':','%','_','\\','\128'..'\xFF'} +
|
||||
Digits + Letters + WhiteSpace)
|
||||
|
||||
var options = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue