I have a long text (plain text) field connected to my content type. The field contains plain html code.

Is it possible to print this field without sanitizing it's content. I mean raw html output of it's content.

And the main thing is to do that without coding, just from admin area. :)

1 Answer 1


It is possible to do it without coding from the admin area.(Disclaimer: a bit hacky).

Go to the "admin/config/content/formats" area and disable all the filter formats except "Plain Text".

Go to your content type display settings tab and change the format in the dropdown to "Default" and save the settings.

If you view your node now, you will be able to see its raw content form without all the sanitation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.