Message303988
The content at docs.python.org seems to be inserting language-dependent "smart quotes" in code blocks, which mangles backslashes and sequences like `'''`. Observed at https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals , which renders
longstring ::= “”’” longstringitem* “”’” | ‘”“”’ longstringitem* ‘”“”’
instead of
longstring ::= "'''" longstringitem* "'''" | '"""' longstringitem* '"""'
and
stringescapeseq ::= “" <any source character>
instead of
stringescapeseq ::= "\" <any source character>
, and looks even worse in other languages:
longstring ::= » »” » longstringitem* » »” » | “ »« »” longstringitem* “ »« »”
longstring ::= 「」』」 longstringitem* 「」』」 | 『」「」』 longstringitem* 『」「」』
Running `make html` locally produces the desired output, so whatever's going on appears specific to the public site. |
|
Date |
User |
Action |
Args |
2017-10-09 17:49:43 | gibson042 | set | recipients:
+ gibson042, docs@python |
2017-10-09 17:49:43 | gibson042 | set | messageid: <1507571383.25.0.213398074469.issue31737@psf.upfronthosting.co.za> |
2017-10-09 17:49:43 | gibson042 | link | issue31737 messages |
2017-10-09 17:49:43 | gibson042 | create | |
|