B
B
bismoney2015-10-27 18:57:20
Ruby on Rails
bismoney, 2015-10-27 18:57:20

How to understand why tags are not processed?

Hello everyone, I've already googled everything .. help me find a problematic place please.
Text is displayed on the page with tags

p><strong>Тест</strong></p> <p>&nbsp;</p> <p><strong>Тест</strong></p>

I tried to create app/assets/javascripts/ckeditor/config.js, but it didn't work.
CKEDITOR.editorConfig = function (config) {
config.allowedContent = true;
}

Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Veniamin Chebotarev, 2015-10-27
@bismoney

<%= raw post .content%>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question