LibreOffice Writer paste HTML includes P and T-prefixed CSS class names, inline styles with metric units, and legacy formatting attributes. Publish Helper strips the LibreOffice artifacts for standards-compliant HTML output.
LibreOffice generates HTML with auto-generated class names (P1, P2, T1, T2), embedded <style> blocks with these classes, inline styles using centimeter-based measurements, and legacy HTML attributes like align and valign on table elements.
LibreOffice Writer Output
<p class="P1"><span class="T1">Introduction</span></p> <p class="P2"><span class="T2">This is a paragraph with </span><span class="T3">bold text</span><span class="T2"> and </span><span class="T4">italic text</span><span class="T2">.</span></p>
Clean HTML
<h2>Introduction</h2> <p>This is a paragraph with <strong>bold text</strong> and <em>italic text</em>.</p>
Select and copy your content from LibreOffice Writer. All formatting, headings, lists, and links will be captured in the clipboard HTML.
Paste into Publish Helper. Toggle cleanup options: strip inline styles, convert heading prefixes, and run find-and-replace.
Click “Clean HTML” and copy the output. Paste the clean, semantic markup into WordPress, Ghost, Webflow, or any CMS.
LibreOffice paste is generally simpler than Word — no XML namespaces or conditional comments. However, it still uses auto-generated class names and embedded style blocks that need cleanup. Publish Helper handles both.
Yes. The HTML Cleanup feature with 'Remove style tags' enabled strips embedded <style> blocks and their associated class references, leaving only inline content.
Absolutely. Publish Helper runs entirely in the browser — it works on Linux, macOS, Windows, ChromeOS, and any device with a modern web browser.
Last updated: March 2026