• Show log

    Commit

  • Hash : 09ae8609
    Author : Martin Mitas
    Date : 2016-12-07T23:56:47

    Handle images more like links.
    
    Remove MD_SPAN_IMG_DETAIL::alt. Instead, the contents of the image is
    propagated to the renderer via MD_RENDERER::text() callback.
    
     * This fixes handling of entities inside the image text (issue #4).
     * It simplifies parsing and, more importantly, it better distingusshes
       what is responsibility of parser or renderer respectively.
     * This allows more flexibility on renderers side. Renderer who do not
     * really support images can just output the image content as any
       other text.
    
    The cost is a renderer into HTML (if it wants to render image contents
    into the attribute ALT of the IMG tag), has to handle images with more
    care. Typically such renderer has to track whether it is inside an image,
    and if so, then render span enter/leave as an empty string.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/md4c.git
    Git SSH git@git.kmx.io:kc3-lang/md4c.git
    Public access ? public
    Description

    Fork of https://github.com/mity/md4c

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags