Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-03-06 18:05:27
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
...disable html?
How Do I disable HTML in articles and with ‘show textile’ option activated? I need textile but not HTML, is there any way?
Thank you,
Ante
Offline
#2 2007-03-06 21:33:39
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: ...disable html?
Er, don’t use HTML? Can you elaborate on what you mean?
Offline
#3 2007-03-07 09:46:15
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: ...disable html?
My articles consist HTML code (tutorials and similar), and I want to show code without executing it. Is there any way to do that?
Offline
Re: ...disable html?
wrap the code in @‘s. (more on this in the textile reference)
Last edited by sthmtc (2007-03-07 09:58:13)
Offline
#5 2007-03-07 11:10:23
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: ...disable html?
That’s it! Thank you.
Offline
#6 2007-03-22 13:43:56
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: ...disable html?
Again problems with it :( It’s not good…
Here is example (article markup is set on ‘convert brakelines’)
<code>
#include <stdio.h>
</code>
outputs only #include :(
What I have to do to output < and > symbols?
Thank you,
Ante
Offline
#7 2007-03-22 14:22:20
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: ...disable html?
Just put the code between the @‘s, and make sure that you’ve turned on textile (don’t use (convert brakelines”).
Regards,
Joey
Offline
#8 2007-03-22 15:17:18
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: ...disable html?
I don’t get it; I’ve done it, but now it prints simply:
[at]
#include
[at]
[at] = @
Last edited by avetma (2007-03-22 15:17:49)
Offline
#9 2007-03-22 19:30:48
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: ...disable html?
bc. #include <stdio.h>
outputs
#include <stdio.h>
Offline
#10 2007-03-23 14:05:18
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: ...disable html?
Is there something wrong with me?! I’m confused;
bc. #include <stdio.h>
outputs
bc. #include
Offline
#11 2007-03-23 15:28:40
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: ...disable html?
Did you disable Textile? Then it won’t work of course.
Offline
#12 2007-03-23 15:58:36
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: ...disable html?
Yayyy! :) It works!
But, how can I put two or more lines into one “.bc” tag? Or how to disable styling of .bc text? (textpattern outputs it in some dashed-border box)
Thanks!
Offline