• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nette / latte
94%

Build:
DEFAULT BRANCH: master
Repo Added 25 Jan 2021 12:20AM UTC
Files 180
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 3.1.4
  • attribute-contexts
  • check-url-null
  • dedent-preserve-structural-indentation
  • master
  • next
  • render-to-content
  • render-to-html
  • srcdoc-escaping
  • v2.10
  • v2.10.10
  • v2.11
  • v2.11.7
  • v2.5
  • v2.6
  • v2.7
  • v2.8
  • v2.9
  • v3.0
  • v3.0.10
  • v3.0.11
  • v3.0.11-RC1
  • v3.0.12
  • v3.0.13
  • v3.0.14
  • v3.0.15
  • v3.0.16
  • v3.0.17
  • v3.0.18
  • v3.0.19
  • v3.0.20
  • v3.0.21
  • v3.0.22
  • v3.0.23
  • v3.0.24
  • v3.0.25
  • v3.0.27
  • v3.0.9
  • v3.1.0
  • v3.1.1
  • v3.1.2
  • v3.1.3
  • v3.1.4
  • v3.1.5
  • v3.1.6
  • v3.1.7
  • wip
  • xml-block-type

06 Nov 2026 02:03AM UTC coverage: 94.231%. Remained the same
42147900655

push

github

dg
HtmlHelpers: srcdoc and text/template escape as attributes [security]

Latte does not parse the document in srcdoc nor the template in such a script,
so a value may land in an attribute there. srcdoc escaped the inner layer as
HTML text without quotes, so <iframe srcdoc="<p title=&quot;{$x}&quot;>"> let
$x add an onmouseover handler to the document; it is now escaped as an attribute
value twice. In a template script the empty comment separating braces corrupted
attribute values like data-x="{$json}"; braces are entities there now, which
Vue 3 respects.

convertAttrToHtml() escapes as HTML text, so {{ cannot form when a block from
an attribute is included into text.

98f4a7e5-bf22-4772-8745-9dfe58960dc8

10 of 10 new or added lines in 1 file covered. (100.0%)

17 existing lines in 1 file now uncovered.

6876 of 7297 relevant lines covered (94.23%)

0.94 hits per line

Relevant lines Covered
Build:
Build:
7297 RELEVANT LINES 6876 COVERED LINES
0.94 HITS PER LINE
Source Files on master
  • Tree
  • List 180
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
42147900655 master HtmlHelpers: srcdoc and text/template escape as attributes [security] Latte does not parse the document in srcdoc nor the template in such a script, so a value may land in an attribute there. srcdoc escaped the inner layer as HTML text without qu... push 06 Nov 2026 02:04AM UTC dg github
94.23
40845789300 xml-block-type Merge c68223e6b into ed4e5b88d Pull #433 29 Oct 2026 08:56AM UTC web-flow github
94.26
40842674821 render-to-content Merge 1075a4efc into ed4e5b88d Pull #432 29 Oct 2026 08:31AM UTC web-flow github
94.28
40832626710 render-to-html Merge 224ba6ae1 into ed4e5b88d Pull #430 29 Oct 2026 07:00AM UTC web-flow github
94.25
40792963431 master Escaper: <textarea> and <title> keep braces intact Their content is text that the browser does not parse as HTML, so the empty comment separating braces was displayed and corrupted the value, e.g. a {{ }} in a submitted form (#409). The content n... push 29 Oct 2026 12:16AM UTC dg github
94.23
40511324120 master switched to global community health files push 27 Oct 2026 01:21PM UTC dg github
94.18
39702089279 v3.0.27 Released version 3.0.27 push 22 Oct 2026 12:50AM UTC dg github
93.91
39701958575 v3.0 Released version 3.0.27 push 22 Oct 2026 12:49AM UTC dg github
93.91
39698065019 master Released version 3.1.7 push 22 Oct 2026 12:10AM UTC dg github
94.18
39698063895 v3.1.7 Released version 3.1.7 push 22 Oct 2026 12:10AM UTC dg github
94.18
See All Builds (1084)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc