• [^] # Tests avec rinku 1.7.2 (tribune)

    Posté par (site web personnel) . En réponse à l’entrée du suivi Les URLs IPv6 ne sont pas supportées. Évalué à 2 (+0/-0). Dernière modification le 01 décembre 2012 à 12:41.

    Et pour la partie tribune, ça vient de Rinku:

    [20] pry(main)> Rinku.auto_link("coin http://127.0.0.1/ pan")
    => "coin <a href=\"http://127.0.0.1/\">http://127.0.0.1/</a> pan"
    [21] pry(main)> Rinku.auto_link("Exemples RFC2732 http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html http://[.&checktime(1080,0,0,':'):0:8:800:200C:417A]/index.html http://[3ffe:2a00:100:7031::1] http://[1080::8:800:200C:417A]/foo http://[::192.9.5.5]/ipng http://[::FFFF:129.144.52.38]:80/index.html")
    => "Exemples RFC2732 http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html http://[.&checktime(1080,0,0,':'):0:8:800:200C:417A]/index.html http://[3ffe:2a00:100:7031::1] http://[1080::8:800:200C:417A]/foo http://[::192.9.5.5]/ipng http://[::FFFF:129.144.52.38]:80/index.html"