diff options
author | def <dennis@felsin9.de> | 2015-01-15 03:26:59 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-01-15 03:26:59 +0100 |
commit | 2a7a5a69d00711331d288d59320f18cc74dd3c4e (patch) | |
tree | 583ada078051cd9b141cbce2ce3f9fe4fddefb5a /lib/pure/xmltree.nim | |
parent | 33c587d06b0c24e571ac7f9b8ae3e565df1ab9f5 (diff) | |
download | Nim-2a7a5a69d00711331d288d59320f18cc74dd3c4e.tar.gz |
GitHub link fixes: nim-code -> nim-lang
Diffstat (limited to 'lib/pure/xmltree.nim')
-rw-r--r-- | lib/pure/xmltree.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pure/xmltree.nim b/lib/pure/xmltree.nim index b84da9586..3c789d841 100644 --- a/lib/pure/xmltree.nim +++ b/lib/pure/xmltree.nim @@ -280,11 +280,11 @@ macro `<>`*(x: expr): expr {.immediate.} = ## Constructor macro for XML. Example usage: ## ## .. code-block:: nim - ## <>a(href="http://nim-code.org", newText("Nim rules.")) + ## <>a(href="http://nim-lang.org", newText("Nim rules.")) ## ## Produces an XML tree for:: ## - ## <a href="http://nim-code.org">Nim rules.</a> + ## <a href="http://nim-lang.org">Nim rules.</a> ## let x = callsite() result = xmlConstructor(x) @@ -343,5 +343,5 @@ proc findAll*(n: XmlNode, tag: string): seq[XmlNode] = findAll(n, tag, result) when isMainModule: - assert """<a href="http://nim-code.org">Nim rules.</a>""" == - $(<>a(href="http://nim-code.org", newText("Nim rules."))) + assert """<a href="http://nim-lang.org">Nim rules.</a>""" == + $(<>a(href="http://nim-lang.org", newText("Nim rules."))) |