How does vanilla render html? I want to write a filter for html output to nofollow anchor tags.
Gdn_Format::Html($Content);//htmLawed filtered
also
Anchor($Text,$Url,array('rel'->'nofollow'));
grep is your friend.
@x00 Thanks for the answer! I see now that vanilla has this feature out of the box.
Comments
Gdn_Format::Html($Content);//htmLawed filtered
also
Anchor($Text,$Url,array('rel'->'nofollow'));
grep is your friend.
@x00
Thanks for the answer! I see now that vanilla has this feature out of the box.