Skip to content

Commit d3387f9

Browse files
Rohan5commitrohan436teemingc
authored
chore: fix serialize_data comment typo (#15518)
Related issue: none. This is a small comment-only fix. - Removes a duplicated `until` in `packages/kit/src/runtime/server/page/serialize_data.js`. --- ### Please don't delete this checklist! Before submitting the PR, please make sure you do the following: - [ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs - [x] This message body should clearly illustrate what problems it solves. - [ ] Ideally, include a test that fails without this PR but passes with it. ### Tests - [ ] Run the tests with `pnpm test` and lint the project with `pnpm lint` and `pnpm check` ### Changesets - [ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running `pnpm changeset` and following the prompts. Changesets that add features should be `minor` and those that fix bugs should be `patch`. Please prefix changeset messages with `feat:`, `fix:`, or `chore:`. ### Edits - [x] Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed. ### Validation - `git diff --check` - No tests added; comment-only change. --------- Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com> Co-authored-by: Tee Ming <chewteeming01@gmail.com>
1 parent 2500258 commit d3387f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/src/runtime/server/page/serialize_data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { hash } from '../../../utils/hash.js';
66
*
77
* The first closes the script element, so everything after is treated as raw HTML.
88
* The second disables further parsing until `-->`, so the script element might be unexpectedly
9-
* kept open until until an unrelated HTML comment in the page.
9+
* kept open up until an unrelated HTML comment in the page.
1010
*
1111
* U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR are escaped for the sake of pre-2018
1212
* browsers.

0 commit comments

Comments
 (0)