cleyan
Posts: 136
|
| Posted: 11/14/2012, 1:53 PM |
|
Hi
I'm having a problem in all my projects
CCS modify the html in some strange ways for example:
- when i have a list like
<ul>
<li>...</li>
<li>...</li>
</ul>
every time I generate the code, CCS remove the </li> label, the the code result in:
<ul>
<li>...
<li>...
</ul>
- I need to use in a form a label like
<input type="text" value=".." /> but even if i add the type="text" but CCS remove the type="text" property of the label
How can I solve this situations?
Thank you in advanced
Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net |
 |
 |
bannedone
Posts: 273
|
| Posted: 11/14/2012, 3:04 PM |
|
What CCS Version???
_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2 |
 |
 |
bannedone
Posts: 273
|
| Posted: 11/14/2012, 3:56 PM |
|
Just looked around.
Don't really know if this will work for you...
But maybe try turning off HTML formatting in the Options Tab
_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2 |
 |
 |
cleyan
Posts: 136
|
| Posted: 11/25/2012, 5:46 PM |
|
Hi
the version is 4.3.00.7676
That's a good idea i will try this and then i'll tell here if work for me
Thank you a lot
Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net |
 |
 |
cleyan
Posts: 136
|
| Posted: 11/27/2012, 5:31 AM |
|
Hi my fiend
It works but the html code became undeadable after a while
This is not a practical solution
I have solved the </li> problem partially with custom code,
I have the same problem with <!Doctype htm> to use html5 and i modified the file ReverseConverter.xsl to include this option
but i don't have a solution to the type="text" missing on textboxes, do you imagine a posible solution?
Thank you in advanced
Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net |
 |
 |
morowind
Posts: 46
|
| Posted: 11/28/2012, 5:15 AM |
|
Can you post here your "ReverseConverter.xsl" HTML5 solution?
|
 |
 |
cleyan
Posts: 136
|
| Posted: 11/28/2012, 6:29 AM |
|
ofcourse
i changed on line 73 from
text = text.replace(/<!DOCTYPE[^>]+>/gi, '');
to
text = text.replace(/<!DOCTYPE[^>]+>/gi, '<!DOCTYPE html>');
I hope it may be useful to you
Regards
Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net |
 |
 |
|