aboutsummaryrefslogtreecommitdiff
tag namev2.0.0 (70a6824f04b39f6972805e960f50078a8f874b69)
tag date2023-10-28 02:23:37 +0200
tagged byThomas Voss <mail@thomasvoss.com>
tagged objectcommit 04b07b3715...
v2.0.0
This release of GSP introduces a less-restrictive syntax for ID- and class shorthands, and breaks compatibility with the previous release. It also introduces escaping of runes in class names. Previously, if you attempted the following: foo .& {} You would get: <foo class="&"> You now get: <foo class="&amp;"> Additionally, as per HTML5 I finally decided to make the ID- and class shorthand syntax completely unrestrictive. This means that the following IDs that were previously not allowed using shorthand syntax are now allowed: $ echo 'foo .{} {}' | gsp -d <foo class="{}"> $ echo 'foo #123 {}' | gsp -d <foo id="123"> This breaks backwards compatibility, because of the following: gsp v1.0.2 ---------- $ echo 'foo #bar{}' | gsp -d <foo id="bar"> gsp v2.0.0 ---------- $ echo 'foo #bar{}' | gsp -d gsp: EOF $ echo 'foo #bar{} {}' | gsp -d <foo id="bar{}"> $ echo 'foo #bar {}' | gsp -d <foo id="bar"> -----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAAZcAAAAHc3NoLXJzYQAAAAMBAAEAAAGBAO0oTzjlp5SRPrvwmANIs0 8wbT+k5Nws1VEF2ya1BZEjXbsdP6zPTbBKsnGsNTcvfrSEGkosz0IOnqcizPqo9HyYDHPY cEC+iUiAjwc0xlNH7DssO7yVJA4F8dFecKvVl/45Yw5PR0fBYR5Kyxt0aobPd9og/iVaXg 8uWHW0SjAS7CSNZ9Ff5Nx2YaTBFh/AL9f9QP0L4Y2zQS/OoA8dLu05CO9t7AC1raKcjfIT Z9S+aA0PpfjlfABzUtAen84uM8tr+2q93Chl3mnHKOHKNzyapAHfTKDJO0x2IwZwAHoJUU Lm7Q1aM5Bsjgi6y4Ko/P48awT8BM2Q0vT1W0aRuYJMD1GaCpU+BmFtYKyC7q6MGaT7fExD sjqD7tPislv0N6TARmjDbZp56XJBPD7/Bu2G2pgRZ+WE6XwYb655ixLRhsQuv4/01FPyEg j5jD+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