adapted to new docutils version
This commit is contained in:
parent
6476dc7cbb
commit
690e66e6ba
3 changed files with 5 additions and 2 deletions
|
|
@ -62,7 +62,7 @@
|
|||
<td class="content">
|
||||
#try:
|
||||
${content.rstToHtml({roSupportSmilies})}
|
||||
#except ERecoverableError:
|
||||
#except ERecoverableError, EParseError:
|
||||
# c.errorMsg = getCurrentExceptionMsg()
|
||||
#end
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ proc validateRst(c: var TForumData, content: string): bool =
|
|||
result = true
|
||||
try:
|
||||
discard content.rstToHtml({roSupportSmilies})
|
||||
except ERecoverableError:
|
||||
except ERecoverableError, EParseError:
|
||||
result = setError(c, "", getCurrentExceptionMsg())
|
||||
|
||||
proc crud(c: TCrud, table: string, data: openArray[string]): TSqlQuery =
|
||||
|
|
|
|||
|
|
@ -9,3 +9,6 @@
|
|||
|
||||
--path:"../nimrod"
|
||||
--path:"../nimrod/compiler"
|
||||
|
||||
--path:"$nimrod/packages/docutils"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue