Note that there are some explanatory texts on larger screens.

plurals
  1. POgoogle chrome add things in my html code
    text
    copied!<p>I've got a strange problem with chrome.</p> <p>My code works like a charm in safari, chrome (5.x.x), explorer and firefox. But with a recent chrome update (7.x or 8.x) it doesn't. </p> <p>Here is the code i wrote:</p> <pre><code> &lt;div class="result"&gt; &lt;div class="favoris"&gt; &lt;a class="favorisClick"&gt;&lt;img src="images/favoris.png"&lt;/a&gt; &lt;/div&gt; &lt;div class="favorisContent resultDim"&gt; &lt;h1 class="favTitle"&gt;0 FAVORIS&lt;/h1&gt; &lt;ul id="favResult"&gt; &lt;!-- js insert things here --&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div class="resultContent resultDim"&gt; &lt;h1 class="nbrResult"&gt;0 TITRES&lt;/h1&gt; &lt;ul id="resultContent"&gt; &lt;!-- js insert things here --&gt; &lt;/ul&gt; &lt;div id="nav"&gt; &lt;ul&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="infos"&gt; &lt;a class="infosClick"&gt;&lt;img src='images/infoUp.png' alt='show info' /&gt;&lt;/a&gt; &lt;div class="infosContent"&gt; &lt;ul id="infosContent"&gt; &lt;li&gt;Sélectionez un morceau.&lt;/li&gt; &lt;/ul&gt; &lt;ul&gt; &lt;li id="dl"&gt;&lt;/li&gt; &lt;li&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>With safari, ff, old chrome and ie, i see this code with the added content by the js. </p> <p>With a new version of chrome here's what i get : </p> <pre><code>&lt;div class="result"&gt; &lt;div class="favoris"&gt; &lt;a class="favorisClick"&gt; &lt;img src="images/favoris.png" &lt;="" a=""/&gt; &lt;/a&gt; &lt;/div&gt; &lt;a class="favorisClick"&gt; &lt;div class="favorisContent resultDim" style="display: none; "&gt; &lt;h1 class="favTitle"&gt;0 FAVORIS&lt;/h1&gt; &lt;ul id="favResult"&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div class="resultContent resultDim"&gt; &lt;h1 class="nbrResult"&gt;16 TITRES&lt;/h1&gt; &lt;ul id="resultContent"&gt; ***RESULT CONTENT*** &lt;/ul&gt; &lt;div id="nav"&gt; &lt;/div&gt; &lt;/a&gt; &lt;div class="infos"&gt; &lt;a class="favorisClick"/&gt; &lt;a class="infosClick"&gt; &lt;div class="infosContent" style="display: none; "&gt; &lt;ul id="infosContent"&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>I dunno why it add this $&amp;@$X1&amp; <code>&lt;a class="favorisClick"&gt;</code> and <code>&lt;/a&gt;</code> and the <code>&lt;a class="favorisClick" /&gt;</code> it happens ONLY whith recent chrome version ... it make me turn completely mad !!</p> <p>I don't even know how to search for this issue on google... </p> <p>Please help me :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload