Doesn't connect correctly if page has comment containing body tag before body opening
See original GitHub issueSync doesn’t start if you put an HTML comment containing the string <body>
before the actual <body>
opening tag.
Eg:
...
<!-- <body> -->
</head>
<body>
...
or
...
</head>
<!-- <body> -->
<body>
...
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
The HTML Comment Tag: Here's How To Use It In Your Code »
HTML comments are visible to anyone that views the page source code, but are not rendered when the HTML document is rendered by...
Read more >HTML5 Validation Error: body start tag seen but an element of ...
I had a similar problem but with <head> , giving the following W3C markup error: A head start tag seen but an element...
Read more >The Document Body element - HTML - MDN Web Docs - Mozilla
The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document. ... Sectioning...
Read more >4.3 Sections — HTML5 - W3C
A body element's end tag may be omitted if the body element is not immediately followed by a comment. Allowed ARIA role attribute...
Read more >How to Comment & Comment Out in HTML - HubSpot Blog
In HTML, a comment is text enclosed within < !╌ ╌> tags. This syntax tells the browser that they are comments and should...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also broke in combination with the Zendesk help script https://support.zendesk.com/hc/en-us/articles/203908456-Using-Web-Widget-to-embed-customer-service-in-your-website?page=5#comment_203266588
I suggested them to adjust the script 😃
You have to change
to
Could you then please place a mention about this somewhere visibly in the docs? The problem is obviously how unintuitive it is. I simply commented out a body tag with some angular params, among x other things, and then spent an hour figuring out why it isn’t reloading.