http://www.xoops.org/
Main Menu
Latest Articles
Popular Articles

Browsing this Thread:   1 Anonymous Users





Remove line breaks using spaw in Articles
Just popping in
Joined:
2005/8/19 15:38
Group:
Registered Users
Posts: 2
Level : 1; EXP : 2
HP : 0 / 0
MP : 0 / 39
Offline
Hi again. We are using Spaw within Articles and we all love the module. However, we get a carriage return after every line. For example, if using spaw, you go into HTML and look at the code, a <br /> is inserted after any carriage returns in the html.

So:

<body>
<table class="head_table" cellpadding="0" cellspacing="0">
<tr>

would result in this:
<br />
<br />
<br />

before anything would appear on the screen. This makes for terrible formatting. Any ideas?

Thanks!
Steve

Posted on: 2005/9/13 20:07
Transfer the post to other applications Transfer


Re: Remove line breaks using spaw in Articles
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 15425
Offline
It seems like you have the "Disable auto line breaks (should be ticked when using WYSIWYG editors)." display option unselected when you save the article.

This option should be used when using WYSIWYG editors such as SPAW, or HTML line breaks will be added for each carriage return...

Posted on: 2005/9/13 20:22
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
Donate!
Please consider donating to help continued development of my XOOPs modules. Read more here.

Search
Advertisements
Copyright © 2001-2009 sirium.net