summary refs log tree commit diff stats
path: root/rod
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2010-02-07 20:30:05 +0100
committerAndreas Rumpf <rumpf_a@web.de>2010-02-07 20:30:05 +0100
commit7db3d97cf980d11b5196e1f5936e0308f70d7aff (patch)
tree6ae217f3b9106bff26cfe5f173e72fe989443855 /rod
parent3644bc7212115aa47a1d5087a4afc31e6d28b6fa (diff)
downloadNim-7db3d97cf980d11b5196e1f5936e0308f70d7aff.tar.gz
httpclient uses strtabs
Diffstat (limited to 'rod')
-rwxr-xr-xrod/rst.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/rod/rst.nim b/rod/rst.nim
index 5e895b5b9..5c675f563 100755
--- a/rod/rst.nim
+++ b/rod/rst.nim
@@ -1486,9 +1486,9 @@ proc dirRaw(p: var TRstParser): PRstNode =
   # latex
   result = parseDirective(p, {hasOptions, hasArg, argIsWord})
   if result.sons[0] != nil:
-    if cmpIgnoreCase(result.sons[0].text, "html") == 0:
+    if cmpIgnoreCase(result.sons[0].sons[0].text, "html") == 0:
       dirRawAux(p, result, rnRawHtml, parseLiteralBlock)
-    elif cmpIgnoreCase(result.sons[0].text, "latex") == 0: 
+    elif cmpIgnoreCase(result.sons[0].sons[0].text, "latex") == 0: 
       dirRawAux(p, result, rnRawLatex, parseLiteralBlock)
     else:
       rstMessage(p, errInvalidDirectiveX, result.sons[0].text)