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">
|
<td class="content">
|
||||||
#try:
|
#try:
|
||||||
${content.rstToHtml({roSupportSmilies})}
|
${content.rstToHtml({roSupportSmilies})}
|
||||||
#except ERecoverableError:
|
#except ERecoverableError, EParseError:
|
||||||
# c.errorMsg = getCurrentExceptionMsg()
|
# c.errorMsg = getCurrentExceptionMsg()
|
||||||
#end
|
#end
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,7 @@ proc validateRst(c: var TForumData, content: string): bool =
|
||||||
result = true
|
result = true
|
||||||
try:
|
try:
|
||||||
discard content.rstToHtml({roSupportSmilies})
|
discard content.rstToHtml({roSupportSmilies})
|
||||||
except ERecoverableError:
|
except ERecoverableError, EParseError:
|
||||||
result = setError(c, "", getCurrentExceptionMsg())
|
result = setError(c, "", getCurrentExceptionMsg())
|
||||||
|
|
||||||
proc crud(c: TCrud, table: string, data: openArray[string]): TSqlQuery =
|
proc crud(c: TCrud, table: string, data: openArray[string]): TSqlQuery =
|
||||||
|
|
|
||||||
|
|
@ -9,3 +9,6 @@
|
||||||
|
|
||||||
--path:"../nimrod"
|
--path:"../nimrod"
|
||||||
--path:"../nimrod/compiler"
|
--path:"../nimrod/compiler"
|
||||||
|
|
||||||
|
--path:"$nimrod/packages/docutils"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue