Cannot place horizontal rule under a templater code snippet

What I’m trying to do

I am trying to place a horizontal rule using *** on the line directly under a templater code snippet:

<center>Created - <% tp.date.now("YYYY-MM-DD") %>  Last Modified - <% tp.file.last_modified_date("YYYY-MM-DD") %></center>

For some reason the horizontal rule will not render if placed below this code. This is the case even if I try to insert the rule well below the code.

I can place a horizontal rule above this snippet no issue, below will not work for me.

This is probably operator error as I am into this prog for an hour or so, but I cant seem to figure it out.

Make sense?

Thanks!

Here is the solution.

Change the above code to this, and horizontal rules will render below it.

<% "\<center>" %>Created - <% tp.date.now("YYYY-MM-DD") %> Last Modified - <% tp.file.last_modified_date("YYYY-MM-DD") %><% "</center>" %>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.