Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15457 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15457 Rev 17002
Línea 102... Línea 102...
102
            'validators' => [
102
            'validators' => [
103
                [
103
                [
104
                    'name' => \Laminas\Validator\StringLength::class,
104
                    'name' => \Laminas\Validator\StringLength::class,
105
                    'options' => [
105
                    'options' => [
106
                        'encoding' => 'UTF-8',
106
                        'encoding' => 'UTF-8',
107
                        'max' => 128,
107
                        'max' => 250,
108
                    ],
108
                    ],
109
                ],
109
                ],
110
                [
110
                [
111
                    'name' => \Laminas\Validator\NotEmpty::class,
111
                    'name' => \Laminas\Validator\NotEmpty::class,
112
                ],
112
                ],
Línea 121... Línea 121...
121
                ['name' => \LeadersLinked\Filter\HtmlPurify::class],
121
                ['name' => \LeadersLinked\Filter\HtmlPurify::class],
122
                [
122
                [
123
                    'name' => \Laminas\Filter\StripTags::class,
123
                    'name' => \Laminas\Filter\StripTags::class,
124
                    'options' => [
124
                    'options' => [
125
                        'allowTags'     => [
125
                        'allowTags'     => [
126
                            'h1','h2','h3','h4','h5','46','p','pre','strong','em','s','span','big','small','tt',
126
                            'h1','h2','h3','h4','h5','h6','p','strong','em','s','span','big','small','tt',
127
                            'code','kbd','samp','var','del','ins','cite','hr','table','thead','tr','th','td','img',
127
                            'hr','table','thead','tr','th','td','img', 'a','style'
128
                            'a','style'
-
 
129
                        ],
128
                        ],
130
                    ]
129
                    ]
Línea 131... Línea 130...
131
                    
130
                    
132
                ],
131
                ],