Method Parser.HTML()->ignore_unknown()
- Method
ignore_unknown
int
ignore_unknown(void
|int
value
)- Description
Treat unknown tags and entities as text data, continuing parsing for tags and entities inside them.
- Note
When functions are specified with _set_tag_callback() or _set_entity_callback(), all tags or entities, respectively, are considered known. However, if one of those functions return 1 and ignore_unknown is set, they are treated as text data instead of making another call to the same function again.