I guess it's due to <?xml version="1.0" encoding="UTF-8"?> appearing before doctype tag.
nb bookmark saves just the url of the website, without the contents
ъ nb --version
7.20.0
ъ cat ~/.nbrc
export NB_INDICATOR_FOLDER='⊡'
export NB_INDICATOR_BOOKMARK='⊎'
export NB_INDICATOR_PINNED='¤'
export NB_BOOKMARK_CONTENT_CLEANUP_TOOL=rdrview
export NB_BOOKMARK_CONTENT_CONVERSION_TOOL=html2markdown
export NB_COLOR_THEME="${NB_COLOR_THEME:-forest}"
export NB_FOOTER="0"
export NB_HEADER="0"
export NB_LIMIT="${NB_LIMIT:-auto}"