D
D
dim4ik2015-05-14 21:53:50
PHP
dim4ik, 2015-05-14 21:53:50

What html markup parser is used on Habré?

There was an article on Habré, which indicated the PHP class of work with the markup of the article on the Habré itself.
That is, a person writes the text of an article in a form on Habré using html markup, and this class, after submitting the form, removed all prohibited tags.
I downloaded this class a year ago on my computer and lost it. Help find an article or class.
I remember a feature of the class was to allow all tags except those prohibited. (Usually the other way around)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cat Anton, 2015-05-14
@dim4ik

Class: jevix.ru/project
Articles: habrahabr.ru/search/?q=%5Bjevix%5D&target_type=posts
Don't lose it ;-)

A
Askar Fuzaylov, 2015-05-14
@ARACOOOL

It is easier to write from scratch if you know the requirements.
php.net/manual/en/function.strip-tags.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question