Add horizontal rule template and update line break to handle attributes