diff options
Diffstat (limited to 'doc/url.html')
-rw-r--r-- | doc/url.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/url.html b/doc/url.html index 9f234d9..6ff673d 100644 --- a/doc/url.html +++ b/doc/url.html | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | <!-- url ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 37 | <!-- url ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
38 | 38 | ||
39 | <h2 id=url>URL</h2> | 39 | <h2 id="url">URL</h2> |
40 | 40 | ||
41 | <p> | 41 | <p> |
42 | The <tt>url</tt> namespace provides functions to parse, protect, | 42 | The <tt>url</tt> namespace provides functions to parse, protect, |
@@ -69,7 +69,7 @@ An URL is defined by the following grammar: | |||
69 | 69 | ||
70 | <!-- absolute +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 70 | <!-- absolute +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
71 | 71 | ||
72 | <p class=name id=absolute> | 72 | <p class=name id="absolute"> |
73 | url.<b>absolute(</b>base, relative<b>)</b> | 73 | url.<b>absolute(</b>base, relative<b>)</b> |
74 | </p> | 74 | </p> |
75 | 75 | ||
@@ -125,7 +125,7 @@ g;x?y#s = http://a/b/c/g;x?y#s | |||
125 | 125 | ||
126 | <!-- build ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 126 | <!-- build ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
127 | 127 | ||
128 | <p class=name id=build> | 128 | <p class=name id="build"> |
129 | url.<b>build(</b>parsed_url<b>)</b> | 129 | url.<b>build(</b>parsed_url<b>)</b> |
130 | </p> | 130 | </p> |
131 | 131 | ||
@@ -146,7 +146,7 @@ The function returns a string with the built URL. | |||
146 | 146 | ||
147 | <!-- build_path +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 147 | <!-- build_path +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
148 | 148 | ||
149 | <p class=name id=build_path> | 149 | <p class=name id="build_path"> |
150 | url.<b>build_path(</b>segments, unsafe<b>)</b> | 150 | url.<b>build_path(</b>segments, unsafe<b>)</b> |
151 | </p> | 151 | </p> |
152 | 152 | ||
@@ -200,7 +200,7 @@ code = url.escape("/#?;") | |||
200 | 200 | ||
201 | <!-- parse ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 201 | <!-- parse ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
202 | 202 | ||
203 | <p class=name id=parse> | 203 | <p class=name id="parse"> |
204 | url.<b>parse(</b>url, default<b>)</b> | 204 | url.<b>parse(</b>url, default<b>)</b> |
205 | </p> | 205 | </p> |
206 | 206 | ||
@@ -265,7 +265,7 @@ parsed_url = url.parse("ftp://root:passwd@unsafe.org/pub/virus.exe;type=i") | |||
265 | 265 | ||
266 | <!-- parse_path +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 266 | <!-- parse_path +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
267 | 267 | ||
268 | <p class=name id=parse_path> | 268 | <p class=name id="parse_path"> |
269 | url.<b>parse_path(</b>path<b>)</b> | 269 | url.<b>parse_path(</b>path<b>)</b> |
270 | </p> | 270 | </p> |
271 | 271 | ||