RedCloth

Help me!!!Lol

I’ve been working with RedCloth but it’s runed my layout because it put
the

and

is there a way to remove this without gsubing it up or
if I do what the prettiest I can make it?

Sorry but if having p around your paragraph destroys your layout then
it points more to a faulty layout.

On 6/23/06, Mohammad [email protected] wrote:

[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

On Fri Jun 23, 2006 at 02:51:30AM +0000, Jon Gretar B. wrote:

Sorry but if having p around your paragraph destroys your layout then
it points more to a faulty layout.

On 6/23/06, Mohammad [email protected] wrote:

Help me!!!Lol

theres a textilize_without_paragraph or something, which just removes
the beginning and ending

's, but then your doc isnt xhtml complaint,
since you end up with something like this:

blahsdblhasdblasdhas lkadj
alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj
alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj
alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj
alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj
alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj
alskdjalskdjalskdjalskdjalskdj

blahsdblhasdblasdhas lkadj alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj alskdjalskdjalskdjalskdjalskdjblahsdblhasdblasdhas lkadj alskdjalskdjalskdjalskdjalskdj

its something im willing to live with, since i cant figure out how to
make <p’s really only take space on the bottom, eg,
padding-top:0;padding-bottom:1em didnt seem to work right, at least in
my browser…

Try
padding: 1px 1px 5px 1px;
or something like that. Think the order is top, left, bottom, right.
Same thing can be done with margin.

On 6/23/06, carmen [email protected] wrote:

if I do what the prettiest I can make it?

[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

On Jun 22, 2006, at 8:09 PM, Jon Gretar B. wrote:

Try
padding: 1px 1px 5px 1px;
or something like that. Think the order is top, left, bottom, right.
Same thing can be done with margin.

I think you mean “top, right, bottom, left”, right?

But I’d agree with the “fix your layout if

tags are breaking it”
suggestion.

-> jp

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs