code cleaner #2

User 12534 Photo


Registered User
20 posts

Hello

I am using 12.5.412 (win xp) when I use the code cleaner I can change the options but when I click OK nothing happens no changer are made.

Regards

Brian
Regards

Brian
User 122279 Photo


Senior Advisor
14,624 posts
Online Now

I take it you are trying to clean a html document. Can you show us a screen shot of the settings you have for code cleaner?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2073552 Photo


Registered User
1,625 posts

Brian,

The current version of HTML Builder has a problem with the Code Cleaner. It is replacing things that it should not be replacing. I would suggest until a fix is found that you not code cleaner.
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 629005 Photo


Ambassador
2,174 posts

CC is aware of some problems pertaining to Code Cleaner, but if you can provide specifics (steps followed and results) that would help them track down the bugs. I know one issue had to do with NBSP's and was found during BETA and reported. If you have others I strongly urge you to submit whatever info you can.
Living the dream, stocking the cream :D
User 2335600 Photo


Registered User
1 post

I'm having a problem with Code Cleaning inappropriately moving code:

Before Code Cleaner:

<div>
<span class="style3">
<p>
<u><b>February 18, 2012 -
Winter Gathering:</b></u><br>
<br>

After Code Cleaner:

<div>
<p>
<span class="style3"><u><b>February 18, 2012 -
Winter Gathering:</b></u><br>
<br>

Note the <span class has been moved to follow the <p>, where browsers ignore it. The <span class is recognized by the browsers when between the <div> and <p>. The content of the <span class in this case is:

.style3 {font-size:20px;color:#000000;font-family:"arial";text-align:justify;}

Ed G.
User 2073552 Photo


Registered User
1,625 posts

It should not matter if the span is outside or inside the p element. The question I have is why not style the p with the class instead of using the span?

Secondly. I do not see a end span where is that placed?
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.