Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Unexplained Mark-Up
Duane
Posted on 31 May 2012, 17:56:07

Access: Member
Total Posts: 11
Joined: 2012-05-27

I'm working on a redesign of a site, and I've reached the place where I'm validating my html code (XHTML Strict). But I'm get extra, unexplained mark-up which is causing my page (http://mhnaz.org/index-template.html) not to validate. Here's an example of the viewed source followed by the validation error:

<p>
    <span data-scayt_word="Lorem" data-scaytid="265">Lorem</span> <span data-scayt_word="ipsum" data-scaytid="266">ipsum</span> dolor sit <span data-scayt_word="amet" data-scaytid="268">amet</span>, <span data-scayt_word="consectetur" data-scaytid="269">consectetur</span> <span data-scayt_word="adipiscing" data-scaytid="271">adipiscing</span> <span data-scayt_word="elit" data-scaytid="641">elit</span></p>


Line 198, Column 24: there is no attribute "data-scayt_word"
    <span data-scayt_word="Lorem" data-scaytid="265">Lorem</span> <span data-scayt

Within the N-13 News Admin, my source shows this:

<p>
    Pellentesque tempus lectus id sapien ornare imperdiet.</p>

Yes, I would like to validate my page and would like to rid each page of the extra mark-up. But I really like what I'm seeing with N-13 News so I'm willing to give a little to keep the script.

Would someone give me some direction of how to remove it or what to do to prevent it? BTW, I did put my copy and paste into Notepad before I put it into the article.

Thanks,

Duane

#3869
Last edited by Duane at 2012-05-31 20:37:15 Reason: Wanted to seperate the validation code
Chris
Posted on 31 May 2012, 18:30:25

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I'm pretty sure the spellchecker plugin for the wysiwyg editor is causing this extra markup. To disable it, replace your own copy of news/js/ckeditor/config.js with this file http://n-13news.googlecode.com/svn-history/r585/trunk/js/ckeditor/config.js

#3870
Duane
Posted on 31 May 2012, 20:37:15

Access: Member
Total Posts: 11
Joined: 2012-05-27

Thank you. I'll give it a try.

Duane

#3871
Network-13.com © 2013