Limit article index length, add html_safe