LinkResolver: fix selector for HeaderTarget
reStructuredText: do not trim lines inside comments
reStructuredText: text of comments can start at the second line
HTMLWriter: deal with non-breaking space explicitly