Closed mudrd8mz closed 7 years ago
Tag usage in topics/knowledge leads to empty fields in questionnaire. Better behaviour: Convert all tags to HTML safe representation.
Maybe you can find the thing to change in settings_functions.js such that in the knowledge-preview in the settings possible HTML is displayed correctly. For topics, this already is implemented but I couldn't figure out how
If I specify the topics with HTML tags (such as
<h1>Topic 1</h1>
,<h1>Topic 2</h1>
etc) and use the same for the list of knowledge questions, the behaviour is inconsistent.Maybe you want to simply consider all these fields as plain text fields and always use the
s()
function when printing them via PHP, and the appropriate way to handle them via JS.