PRE formatting
Permalink
Hi,
it's driving me crazy: I'm trying to insert a "pre" block (a short git diff) into my page, but it seems like redactor is always removing line breaks and just does horrible stuff to it in general. Is there a way to use the "code" style in the way it's meant to be?
Thanks,
Stefan
it's driving me crazy: I'm trying to insert a "pre" block (a short git diff) into my page, but it seems like redactor is always removing line breaks and just does horrible stuff to it in general. Is there a way to use the "code" style in the way it's meant to be?
Thanks,
Stefan
An HTML block?
What do you mean?
I am referring to normal editing within a "content" block.
I am referring to normal editing within a "content" block.
Ok, an HTML block is kind of O.K., BUT it un-escapes HTML escapes, so if I have
it saves fine, but next time I edit the block, it comes out as
and then when I save it, the content sometimes just is discarded completely.
I guess this is just another thing being added to the LONG list of bugs in 5.7.
Stefan
<pre> <tag> </pre>
it saves fine, but next time I edit the block, it comes out as
<pre> <tag> </pre>
and then when I save it, the content sometimes just is discarded completely.
I guess this is just another thing being added to the LONG list of bugs in 5.7.
Stefan
how about making a preformatted text block instead? ;)