Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1<?xml version="1.0" encoding="UTF-8"?>
2<templates xml:space="preserve">
3
4<t t-name="html_builder.CTABadgeOption">
5 <BorderConfigurator label.translate="Border"/>
6 <ShadowOption/>
7</t>
8
9</templates>
10

After

1<?xml version="1.0" encoding="UTF-8"?>
2<templates xml:space="preserve">
3
4<t t-name="html_builder.CTABadgeOption">
5 <BorderConfigurator label.translate="Border"/>
6 <ShadowOption t-if="!this.excludeShadowOption"/>
7</t>
8
9</templates>
10

Before

document
prolog
XMLDecl
<? "<?"
xml "xml"
version "version"
= "="
" "\""
VersionNum "1.0"
" "\""
encoding "encoding"
= "="
" "\""
EncName "UTF-8"
" "\""
?> "?>"
element
STag
< "<"
Name "templates"
Attribute
Name "xml:space"
= "="
AttValue
" "\""
" "\""
> ">"
content
CharData "\n\n"
element
STag
< "<"
Name "t"
Attribute
Name "t-name"
= "="
AttValue
" "\""
" "\""
> ">"
content
CharData "\n "
element
EmptyElemTag
< "<"
Name "BorderConfigurator"
Attribute
Name "label.translate"
= "="
AttValue
" "\""
" "\""
/> "/>"
CharData "\n "
element
EmptyElemTag
< "<"
Name "ShadowOption"
/> "/>"
CharData "\n"
ETag
</ "</"
Name "t"
> ">"
CharData "\n\n"
ETag
</ "</"
Name "templates"
> ">"

After

document
prolog
XMLDecl
<? "<?"
xml "xml"
version "version"
= "="
" "\""
VersionNum "1.0"
" "\""
encoding "encoding"
= "="
" "\""
EncName "UTF-8"
" "\""
?> "?>"
element
STag
< "<"
Name "templates"
Attribute
Name "xml:space"
= "="
AttValue
" "\""
" "\""
> ">"
content
CharData "\n\n"
element
STag
< "<"
Name "t"
Attribute
Name "t-name"
= "="
AttValue
" "\""
" "\""
> ">"
content
CharData "\n "
element
EmptyElemTag
< "<"
Name "BorderConfigurator"
Attribute
Name "label.translate"
= "="
AttValue
" "\""
" "\""
/> "/>"
CharData "\n "
element
EmptyElemTag
< "<"
Name "ShadowOption"
Attribute
Name "t-if"
= "="
AttValue
" "\""
" "\""
/> "/>"
CharData "\n"
ETag
</ "</"
Name "t"
> ">"
CharData "\n\n"
ETag
</ "</"
Name "templates"
> ">"