Non c'est beau.

+1

Alexandre


2014-06-02 10:52 GMT-04:00 Jean Privat <notifications@github.com>:

> In src/highlight.nit:
>
> > +	fun attach_infobox(infobox: HInfoBox)
> > +	do
> > +		classes.add("popupable")
> > +		attrs["title"] = infobox.title
> > +		var href = infobox.href
> > +		if href != null then
> > +			attrs["data-title"] = """<a href="{{{href}}}">{{{infobox.title}}}</a>"""
> > +		end
> > +		attrs["data-content"] = infobox.content.write_to_string
> > +		attrs["data-toggle"] = "popover"
> > +	end
> > +end
> > +
> > +
> > +# A generic information container that can be used to decorate AST entities
> > +class HInfoBox
>
> HTML et Highlight, mais je peux virer le H si tu préfères
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/privat/nit/pull/474/files#r13288067>.
>