Serialize special symbols.

def serialize_symbol(ctx, document, el, root):
    "Serialize special symbols."

    span = etree.SubElement(root, 'span')
    span.text = el.value()

    fire_hooks(ctx, document, el, span, ctx.get_hook('symbol'))

    return root