Skip to content

Commit 606be2f

Browse files
committed
docs(slug): unescape & last as suggested by CoPilot
To fix the issue, the unescaping operations should be reordered so that the escape character (&) is unescaped last. This ensures that any sequences involving & (e.g., &, ") are correctly handled before unescaping the & itself. This approach prevents double unescaping and ensures the integrity of the processed text.
1 parent fbfc14f commit 606be2f

File tree

120 files changed

+241
-241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+241
-241
lines changed

docs-src/pages/api/functions/asBoolean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **asBoolean**(): [`AttributeParser`](../type-aliases/AttributeParser.md)\<`boolean`\>
1010
11-
Defined in: [src/lib/parsers.ts:23](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/lib/parsers.ts#L23)
11+
Defined in: [src/lib/parsers.ts:23](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/lib/parsers.ts#L23)
1212

1313
Parse a boolean attribute as an actual boolean value
1414

docs-src/pages/api/functions/asEnum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **asEnum**(`valid`): [`AttributeParser`](../type-aliases/AttributeParser.md)\<`string`\>
1010
11-
Defined in: [src/lib/parsers.ts:86](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/lib/parsers.ts#L86)
11+
Defined in: [src/lib/parsers.ts:86](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/lib/parsers.ts#L86)
1212

1313
Parse an attribute as a multi-state value (for examnple: true, false, mixed), defaulting to the first valid option
1414

docs-src/pages/api/functions/asInteger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **asInteger**(`fallback?`): [`AttributeParser`](../type-aliases/AttributeParser.md)\<`number`\>
1010
11-
Defined in: [src/lib/parsers.ts:37](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/lib/parsers.ts#L37)
11+
Defined in: [src/lib/parsers.ts:37](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/lib/parsers.ts#L37)
1212

1313
Parse an attribute as as number forced to integer with a fallback
1414

docs-src/pages/api/functions/asJSON.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **asJSON**\<`T`\>(`fallback`): [`AttributeParser`](../type-aliases/AttributeParser.md)\<`T`\>
1010
11-
Defined in: [src/lib/parsers.ts:104](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/lib/parsers.ts#L104)
11+
Defined in: [src/lib/parsers.ts:104](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/lib/parsers.ts#L104)
1212

1313
Parse an attribute as a JSON serialized object with a fallback
1414

docs-src/pages/api/functions/asNumber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **asNumber**(`fallback?`): [`AttributeParser`](../type-aliases/AttributeParser.md)\<`number`\>
1010
11-
Defined in: [src/lib/parsers.ts:62](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/lib/parsers.ts#L62)
11+
Defined in: [src/lib/parsers.ts:62](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/lib/parsers.ts#L62)
1212

1313
Parse an attribute as as number with a fallback
1414

docs-src/pages/api/functions/asString.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **asString**(`fallback?`): [`AttributeParser`](../type-aliases/AttributeParser.md)\<`string`\>
1010
11-
Defined in: [src/lib/parsers.ts:74](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/lib/parsers.ts#L74)
11+
Defined in: [src/lib/parsers.ts:74](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/lib/parsers.ts#L74)
1212

1313
Parse an attribute as a string with a fallback
1414

docs-src/pages/api/functions/component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **component**\<`P`\>(`name`, `init`, `setup`): [`Component`](../type-aliases/Component.md)\<`P`\>
1010
11-
Defined in: [src/component.ts:279](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/component.ts#L279)
11+
Defined in: [src/component.ts:279](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/component.ts#L279)
1212

1313
Define a component with its states and setup function (connectedCallback)
1414

docs-src/pages/api/functions/dangerouslySetInnerHTML.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **dangerouslySetInnerHTML**\<`P`, `E`\>(`s`, `options`): [`FxFunction`](../type-aliases/FxFunction.md)\<`P`, `E`\>
1010
11-
Defined in: [src/lib/effects.ts:448](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/lib/effects.ts#L448)
11+
Defined in: [src/lib/effects.ts:448](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/lib/effects.ts#L448)
1212

1313
Set inner HTML of an element
1414

docs-src/pages/api/functions/emit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **emit**\<`T`\>(`type`, `detail`): \<`P`\>(`host`, `target`) => `void`
1010
11-
Defined in: [src/core/dom.ts:439](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/core/dom.ts#L439)
11+
Defined in: [src/core/dom.ts:439](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/core/dom.ts#L439)
1212

1313
Emit a custom event with the given detail
1414

docs-src/pages/api/functions/fromContext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **fromContext**\<`T`, `C`\>(`context`, `fallback`): (`host`) => [`Signal`](../type-aliases/Signal.md)\<`T`\>
1010
11-
Defined in: [src/core/context.ts:124](https://github.com/zeixcom/ui-element/blob/8a5f554f7f150bc30f3cc67f612a4c3067704cb6/src/core/context.ts#L124)
11+
Defined in: [src/core/context.ts:124](https://github.com/zeixcom/ui-element/blob/fbfc14f2b364007b204dfef842cb4c272bdfad41/src/core/context.ts#L124)
1212

1313
Consume a context value for a component.
1414

0 commit comments

Comments
 (0)