Bug fixes

* Keep note body style if existing 
* Close image elements properly