Posted by zeromiledesign on January 31, 2011 at 8:34am
My HTML code is being rendered even within tags. I searched the documentation and the Googley and found only references to how to use the code tags. I Copy/Pasted the examples and still no worky. Tried HTML and Filtered HTML. Plain Text shows everything, tags included. Anyone else having a similar issue.
Please forgive me if this is the wrong place for this question.
Cheers,
Jason
Comments
haha, the < code > tags were
haha, the < code > tags were rendered out of my submission.
I'm not sure what your issue
I'm not sure what your issue is. Are you trying to display HTML markup on a page like this?
<h3>Heading</h3><p>This is a paragraph.</p>
Bob Kepford
TheWeeklyDrop.com
BobKepford.com
< code > tags not working
Yes! But when I wrap it in < code > or < pre > tags the HTML inside renders as HTML. I've adjusted the html/filtered html profiles to not do any html cleanup or auto-link conversion. Still no worky. It's not super critical, I was just checking to see if anyone else was having this issue. It's on my local drupal7 install. Maybe I can bring my laptop to the next meeting and show you.
Here are some screenshots illustrating mah error http://zeromiledesign.com/wordpress/2011/codepre-issue-with-drupal-7/
Thanks for your response :)
Hmm. Now I see. It's not a
Hmm. Now I see. It's not a Drupal 7 bug or even a bug. The input filters (text filters in D7) are filtering/reading the tags within your code tags. Take a look at the CodeFilter module. That should get you what you need.
Bob Kepford
TheWeeklyDrop.com
BobKepford.com
FYI. You will need to enable
FYI. You will need to enable that module and then go to your text formats and enable it on any of the formats you want to be able to paste code.
Bob Kepford
TheWeeklyDrop.com
BobKepford.com
codefilter
It worked! You are a genius!! Thanks so much :)