diff options
author | Abhilash Raj <raj.abhilash1@gmail.com> | 2022-04-08 13:23:11 -0400 |
---|---|---|
committer | sqla-tester <sqla-tester@sqlalchemy.org> | 2022-04-08 13:23:11 -0400 |
commit | cc3794f67b4346103af3a3a5777f1e1e5f83b43f (patch) | |
tree | cbfabc3ffeea7b9936e13d881fa4a532cd5c1889 | |
parent | 86025c02f25954d7be32b368c6b015f6c9f51b71 (diff) | |
download | mako-cc3794f67b4346103af3a3a5777f1e1e5f83b43f.tar.gz |
Add closing tag in include.
Fixes #260
Closes: #359
Pull-request: https://github.com/sqlalchemy/mako/pull/359
Pull-request-sha: 541f219237c47ab159a7bc36172044d503cd0c08
Change-Id: Icdaa09284cb9921b5753985ae600978763e0223f
-rw-r--r-- | doc/build/inheritance.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/build/inheritance.rst b/doc/build/inheritance.rst index 5b29574..842b8fc 100644 --- a/doc/build/inheritance.rst +++ b/doc/build/inheritance.rst @@ -525,10 +525,10 @@ A common mistake is along these lines: </%block> ## parent.mako - <%include file="partials.mako"> + <%include file="partials.mako" /> ## child.mako - <%inherit file="parent.mako"> + <%inherit file="parent.mako" /> <%block name="header"> Custom Header </%block> @@ -559,7 +559,7 @@ it as a namespace: </%block> ## child.mako - <%inherit file="parent.mako"> + <%inherit file="parent.mako" /> <%block name="header"> Custom Header </%block> @@ -579,8 +579,8 @@ Another scenario is below, which results in both ``"SectionA"`` blocks being ren </%block> ## parent.mako - <%inherit file="base.mako"> - <%include file="child.mako"> + <%inherit file="base.mako" /> + <%include file="child.mako" /> ## child.mako <%block name="SectionA"> @@ -593,8 +593,8 @@ of ``child.mako`` using a namespace: .. sourcecode:: mako ## parent.mako - <%inherit file="base.mako"> - <%namespace name="child" file="child.mako"> + <%inherit file="base.mako" /> + <%namespace name="child" file="child.mako" /> <%block name="SectionA"> ${child.SectionA()} |