Auto-conversion to markup when pasting html
Fix potential NPE if a Link Span has no href