Revert "symbolizersToXML: Do not assume tagcontent has a value"

This reverts commit c89ed510ff531500e1649a412e2fb997d54fcff1.

A different fix was committed upstream, and I'm going to
cherry-pick that one.
Correctly deal with invalid content in non-selfclosing tags. Fixes #297