If I try to use any HTML code in the description, notes, or instruction fields, it shows the code instead of actually rendering it.

Even something simple as using the <strong> tags show up as escaped characters. Doesnt actually show the text as strong.

My other nodes, blogs, pages, etc all work as expected. It is just the Recipe nodes that arent working.

Comments

taps7734’s picture

I just kind of figured out the problem.

Even though I had set up a new text format called Rich Text, and used that format with a WYSIWYG editor, it was still displaying the node using Plain Text. Once I unchecked the "Display any HTML as plain text" in plain text, it started working again.

Now I just need to figure out why it isnt using the text format I specified.

jvandervort’s picture

Title: HTML Markup shows » WYSIWYG fields don't remember filter formats

Function recipe_node_sanitize() in recipe.module doesn't respect filter formats.
This should be changed at some point.

Darkwaltz4’s picture

If you have a input filter with the machine name "filtered_html" (regardless of its use in composition of the recipe), it will use that to filter the content, otherwise it will sanitize html tags into plaintext. Certainly not the right way to be doing things, but a temporary way to fix the broken html support.

dcam’s picture

Status: Active » Closed (duplicate)