Ajout autorisation balises Hn dans textes des questionnaires
This commit is contained in:
parent
a6e01a27d2
commit
28a6a87650
@ -54,7 +54,7 @@ module.exports = (sequelize, DataTypes) =>
|
||||
introduction:
|
||||
{
|
||||
type: DataTypes.TEXT, allowNull: false,
|
||||
set(value) { this.setDataValue("introduction", tool.trimIfNotNull(striptags(value,"<p><b><i><em><strong><ul><li><div><a><br>"))); },
|
||||
set(value) { this.setDataValue("introduction", tool.trimIfNotNull(striptags(value,"<h3><h4><h5><p><b><i><em><strong><ul><li><div><a><br>"))); },
|
||||
validate:
|
||||
{
|
||||
notNull: { msg: txt.needIntroduction }
|
||||
|
Loading…
x
Reference in New Issue
Block a user