diff options
author | Hans Bolinder <[email protected]> | 2009-12-03 12:21:55 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-12-03 12:21:55 +0000 |
commit | dfd4b66c48106edfcbdd1b32e733640e2587acbb (patch) | |
tree | 408f1d6107461f8cc1091a8d94ab1c8efa072a33 /lib/webtool | |
parent | 856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6 (diff) | |
download | otp-dfd4b66c48106edfcbdd1b32e733640e2587acbb.tar.gz otp-dfd4b66c48106edfcbdd1b32e733640e2587acbb.tar.bz2 otp-dfd4b66c48106edfcbdd1b32e733640e2587acbb.zip |
documentation: Fix bugs introduced in the SGML to XML transition
In the transition from SGML to XML (several releases ago),
bugs were introduced in the documentation, for instance
"\n" replaced by newlines. Correct those bugs.
Also correct double backslashes. They seem to have been introduced very
early in the development of OTP. According to Lars they "solved" a bug
in the generation of HTML &c. Now that standard tools are used instead
of docbuilder, the bug has become visible.
Diffstat (limited to 'lib/webtool')
-rw-r--r-- | lib/webtool/doc/src/webtool_chapter.xml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/webtool/doc/src/webtool_chapter.xml b/lib/webtool/doc/src/webtool_chapter.xml index ceadce382d..f72a255b0a 100644 --- a/lib/webtool/doc/src/webtool_chapter.xml +++ b/lib/webtool/doc/src/webtool_chapter.xml @@ -212,16 +212,13 @@ http://Servername:Port/ErlScriptAlias/Mod/Func<?QueryString> ]]></code> header("text/html"). header(MimeType) -> - "Content-type: " ++ MimeType ++ "\\r\ -\\r\ -". + "Content-type: " ++ MimeType ++ "\r\n\r\n". html_header() -> "<HTML> <HEAD> <TITLE>Hello world Example </TITLE> - </HEAD>\ -". + </HEAD>\n". helloworld_body()-> "<BODY>Hello World</BODY>". |