Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Expected: code block doesn't seem to accept bold text
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Behavior
Lorem <b> ipsum </b> dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
If I am logged out my post.body gets sanitized.
However, if I am logged in the text accepts html tags.
In the documentation it says sanitize is set to true by default. I tried sanitize: true as well as sanitize: false, still doesn't work.
Hey,
I am struggeling right now with some sanitizing misbehaviours.
I am using the following code in my view:
Input text:
Expected: code block doesn't seem to accept bold text
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Behavior
If I am logged out my post.body gets sanitized. However, if I am logged in the text accepts html tags. In the documentation it says sanitize is set to true by default. I tried
sanitize: true
as well assanitize: false
, still doesn't work.Does anyone know why it behaves like this?
Best regards