Skip to content
Snippets Groups Projects
  • chrissi^'s avatar
    2895bcc2
    flamngo: Add site-dependend HTML-Parser · 2895bcc2
    chrissi^ authored
    
    The flamingo-core HTML-parser does two things:
    
    * remove the first <h1>
    * re-write the HTML with beutiful soup.
    
    First:
    We want to leave our <h1> where it is since it is
    places somewhere inside out HTML.
    The Template should not be able to place it there...
    
    Second:
    BS-HTML is ugly!
    
    Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
    2895bcc2
    History
    flamngo: Add site-dependend HTML-Parser
    chrissi^ authored
    
    The flamingo-core HTML-parser does two things:
    
    * remove the first <h1>
    * re-write the HTML with beutiful soup.
    
    First:
    We want to leave our <h1> where it is since it is
    places somewhere inside out HTML.
    The Template should not be able to place it there...
    
    Second:
    BS-HTML is ugly!
    
    Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>