Page 1 of 1
Access Source code for Edit
Posted: Wed Feb 15, 2012 6:54 pm
by dksreeder
Hi, I am trying to place an ad on one of the blog postings. The advertiser requires that the source code be exact. When I cut and paste the code into the blog and view the source code, Serendipity adds tags to the code. How do I access the source code to change it and delete the extra tags?
Re: Access Source code for Edit
Posted: Wed Feb 15, 2012 8:40 pm
by yellowled
dksreeder wrote:When I cut and paste the code into the blog and view the source code, Serendipity adds tags to the code. How do I access the source code to change it and delete the extra tags?
It depends – first of all on which WYSIWYG editor you're using. If you don't know which one it is, it's probably Xinha (s9y default WYSIWYG editor). Personally, I don't use it, but it should offer a button to switch to source code view, most likely labelled with "<>", "HTML" or something.
Second, you shouldn't have to delete extra tags. You should have to switch to code view in the editor to enter it properly, but if the system adds tags to your code, it's very likely you use some kind of markup plugin along with the WYSIWYG editor, most likely NL2BR. As long as you use this, it will always add markup to your posts, no matter how you enter the ad code.
If dropping the markup plugin is not an option, there's always the possibility to add the ad code to your template.
YL