Foros del Web » Creando para Internet » Sistemas de gestión de contenidos »

Problema TinyMCE

Estas en el tema de Problema TinyMCE en el foro de Sistemas de gestión de contenidos en Foros del Web. Hola, tengo un problema con el tinyMCE, pq en el editor pego un HTML que contiene javascript y me lo guarda mal en la base ...
  #1 (permalink)  
Antiguo 29/10/2009, 11:13
 
Fecha de Ingreso: noviembre-2005
Mensajes: 62
Antigüedad: 18 años, 5 meses
Puntos: 0
Exclamación Problema TinyMCE

Hola, tengo un problema con el tinyMCE, pq en el editor pego un HTML que contiene javascript y me lo guarda mal en la base de datos (mysql), el HTML lo pego con el botón de HTML

HTML que pego:

<html>
<head>
<title>::: aaa :::</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7057224-9");
pageTracker._trackPageview();
} catch(err) {}</script>
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
-->
</style></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table height="" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td align="center" valign="top"><div align="right"><span class="style1">si no puede ver el contenido haga <A href="http://www.aaaa.com.ar/grupo/">click aqui</A></span><br>

</div></td>
</tr>
</table>


</body>


Y en la base se guarda así:


<!-- body { background-color: #FFFFFF; } .style1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px; } .style4 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #666666; } -->
<table id="Table_01" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td align="center" valign="top">
<div>
<p><span class="style1">si no puede ver el contenido haga <a href="http://www.aaa.com.ar/voyage/">click aqui</a></span></p>
</div>
</td>
</tr>
<tr>
<td align="center" valign="top"><span class="style4"><br />LOS PROGRAMAS SON EN BASE DOBLE Y SUJETOS A DISPONIBILIDAD AL MOMENTO DE EFECTUAR LA RESERVA.<br /><br /></span></td>
</tr>
</tbody>
</table>
<!-- End ImageReady Slices -->
<p>

</p>
</html>

Alguien sabe que puede ser???

Gracias!
Saludos.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 11:12.