- From: Dominique Meeùs <dominique@meeus-d.be>
- Date: Sun, 13 Jul 2008 19:12:45 +0200
- To: www-amaya@w3.org
- Message-ID: <487A378D.1010906@meeus-d.be>
At the beginning of my pages (as for example
http://www.meeus-d.be/linux/divers.html) I put script elements inside
span elements to make them smaller and float left and right. Amaya
pretends to put the span as content of the script ! My code seems to me
perfectly normal and HTML-Tidy agrees. Amaya seems to be "too clever" on
this. Code is as follows :
| <span class="floatleft smaller">
<script type="text/javascript"
language="JavaScript"
src="../monAdresse.js">
</script>
</span>
<span class="floatright smaller">
<i>Dernière modification le</i>
<script type="text/javascript"
language="JavaScript"
src="../lastSaved.js">
</script>
</span> |
Amaya transforms it in the nonsensical
|<script type="text/javascript" language="JavaScript"
src="../monAdresse.js">
<span class="floatleft smaller"> </span></script>
<span class="floatright smaller"><i>Dernière modification le</i>
</span><script type="text/javascript" language="JavaScript"
src="../lastSaved.js">
<span class="floatright smaller"> </span></script>|
--
Amitiés, Dominique,
dominique@meeus-d.be, +32 (473) 61 31 75, http://www.meeus-d.be/
Received on Wednesday, 16 July 2008 05:43:41 UTC