GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    James Scholes (jscholes@dragonscave.space)'s status on Sunday, 16-Aug-2026 02:06:42 JSTJames ScholesJames Scholes

    I'm looking for tools for cleaning up and reformatting #HTML, preferably within or callable from the #Python ecosystem.

    I'm not talking about sanitisation for security purposes; I already use NH3 for that. Rather, I want something that can perform tasks like converting manual line breaks to proper paragraph usage, removing empty nodes and superfluous styling, reliably stripping out certain tags while leaving their text content intact, that sort of thing.

    It specifically needs to work on markup fragments without requiring an entire document.

    No LLMs but machine learning is fine.

    In conversationabout 2 months ago from dragonscave.spacepermalink

    Attachments


    1. Domain not in remote thumbnail source whitelist: www.document.no
      Document
      Document
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.