HTML tags in text fields

HTML tags in text fields

f.talamini@stmingegneria.euf.talamini@stmingegneria.eu Posts: 23Questions: 11Answers: 0

Hi everybody,
I'm trying to insert and image in a text field but the img tag loses the image url as i save the data in my mysql database.
I already set the "entityDecode: false" in the field definition and the "config.allowedContent=true" in ckeditor config.js file.
I seems to be a XSS protection but can't figure how to get my gold: insert an image in a html field.

Thank you.

Regards,
Franco

This question has an accepted answers - jump to answer

Answers

  • f.talamini@stmingegneria.euf.talamini@stmingegneria.eu Posts: 23Questions: 11Answers: 0

    hello, solved!
    it's a matter of php version: i choosed php 5.5.13 instead of default php 5.3.29 on my server and now it's working properly.

    Franco

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Answer ✓

    Thanks for the update - good to hear you've got it working now.

    Allan

This discussion has been closed.