Open taylor-hunt-kr opened 3 years ago
https://www.google.com/search?q=whitespace+site:markojs.com
The top result for the Marko docs includes jump links to:
if>, <else-if>, <else> · for> · while> · macro>
So not only are the angle brackets being unnecessarily escaped, they’re also being trimmed?
Not sure why it’s happening, though. As seen via View Source:
<h2 id=if-else-if-else><a name=if-else-if-else class=anchor href=#if-else-if-else><span class=header-link></span></a><code><if></code>, <code><else-if></code>, <code><else></code></h2>
Indented for readability:
<h2 id=if-else-if-else> <a name=if-else-if-else class=anchor href=#if-else-if-else> <span class=header-link></span> </a> <code><if></code>, <code><else-if></code>, <code><else></code> </h2>
There’s also the Table of Contents HTML, but that’s well-formed too:
<li><a href="#if-else-if-else"><if>, <else-if>, <else></a></li>
I guess while I’m at it, the result titles are also unhelpful, but it’s obvious why: the Marko docs don’t update titles between pages; they all have <title>Marko</title>. (Which is annoying when you have multiple docs open.)
<title>Marko</title>
Some research:
As for diagnosis, if anyone at eBay could look at the Webmaster Search Console (or whatever they call it nowadays), maybe there’s a warning/error?
https://www.google.com/search?q=whitespace+site:markojs.com
The top result for the Marko docs includes jump links to:
So not only are the angle brackets being unnecessarily escaped, they’re also being trimmed?
Not sure why it’s happening, though. As seen via View Source:
Indented for readability:
There’s also the Table of Contents HTML, but that’s well-formed too:
I guess while I’m at it, the result titles are also unhelpful, but it’s obvious why: the Marko docs don’t update titles between pages; they all have
<title>Marko</title>
. (Which is annoying when you have multiple docs open.)