<a>
elements.It is used to refer to some specific entities when generating links.
If null
is returned, then no link are generated and <a>
elements become <span>
.
By default, null
is returned.
Clients are therefore encouraged to redefine the method in a subclass to control where entities should link to.
# A reference to an entity used in generated `<a>` elements.
#
# It is used to refer to some specific entities when generating links.
# If `null` is returned, then no link are generated and `<a>` elements become `<span>`.
#
# By default, `null` is returned.
# Clients are therefore encouraged to redefine the method in a subclass to control where entities should link to.
fun hrefto(entity: MEntity): nullable String do return null
src/htmlight.nit:103,2--110,60