If there is "<" in code, it will be converted to "<"
GoogleCodeExporter opened this issue · 5 comments
GoogleCodeExporter commented
Markdown.Converter
for example
There is Golang code:
select {
case <-channel:
}
will be converted to:
select {
case <channel:
}
Original issue reported on code.google.com by xuxinhua...@gmail.com
on 24 Mar 2013 at 7:31
GoogleCodeExporter commented
Of course it is. What's the issue with that? If we didn't do that, HTML tags in
code blocks would be interpreted by the browser, which is obviously not what we
intend.
Original comment by b...@stackoverflow.com
on 25 Mar 2013 at 1:38
GoogleCodeExporter commented
Original comment by b...@stackoverflow.com
on 8 Apr 2013 at 6:50
- Changed state: Invalid
GoogleCodeExporter commented
But this is golang code
select {
case <-channel:
}
If it was changed to
select {
case <channel:
}
it is not friendly。
Original comment by xuxinhua...@gmail.com
on 9 Apr 2013 at 3:07
GoogleCodeExporter commented
The point of Markdown is to create HTML. And a browser sees <, it displays <.
That's absolutely correct.
Original comment by b...@stackoverflow.com
on 9 Apr 2013 at 3:29
GoogleCodeExporter commented
But this is golang code
select {
case <-channel:
}
If it was changed to
select {
case <channel:
}
it is not friendly。
Original comment by xuxinhua...@gmail.com
on 9 Apr 2013 at 3:07