File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ # 2.22 2025-10-08
2+
3+ - Use ` prepend ` instead of ` include ` to extend the ` Proc ` class
4+
15# 2.21 2025-10-08
26
37- Fix ` Proc#apply ` parameter handling
Original file line number Diff line number Diff line change 1- ## Code generation
2-
3- - Benchmark preallocating the buffer with a capacity of 4096 or 8192 in ` Proc#render ` .
4- - for templates of ~ 2400 bytes, we get ~ 8% speedup
5-
61## Add missing escaping of attribute values:
72
8- https://stackoverflow.com/questions/9187946/escaping-inside-html-tag-attribute-value
3+ https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments
4+
5+ - Replace any occurrence of the "&" character by the string "& ; ".
6+ - Replace any occurrences of the U+00A0 NO-BREAK SPACE character by the string "  ; ".
7+ - Replace any occurrences of the "<" character by the string "< ; ".
8+ - Replace any occurrences of the ">" character by the string "> ; ".
9+ - If the algorithm was invoked in the attribute mode, then replace any occurrences of the """ character by the string "" ; ".
910
1011## API
1112
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module Papercraft
4- VERSION = '2.21 '
4+ VERSION = '2.22 '
55end
You can’t perform that action at this time.
0 commit comments