friendica/friendica — pull request #470 by CyberDomovoy (2012-09-14 03:37:00+00:00)
Title: Detect the namespace uri from token name

So, i don't know if this is an external lib or friendica code, but tags in a different namespace than html produced an error.

I've introduce namespace detection with a simple switch, but since self::NS_HTML exists, there may be others already available via self:: , i'm looking into it.

This pull request is not to be merged now, but to start a discussion:
What should we do? Ignore non-html tags (simply return) or use them?
What namespaces can we introduce? (found the one for google)