@devries-cameron20 / t3code-1 / commits / bf5c483cbe
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

chore(mobile): move Enriched Markdown to upstream's block renderers (#24534)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 24, 2026 at 13:37 UTC bf5c483cbe298032fe5f97b05f31f8458aab0031
11 files changed +156 -72
apps/mobile/deps/README.md
+2 -2
@@ -1,3 +1,3 @@
1 -The Enriched Markdown tarball comes from [`feat/t3chat-markdown-parity-v2`](https://github.com/pingdotgg/enriched-markdown/tree/feat/t3chat-markdown-parity-v2), based on Julius's [`fork/t3-mobile` branch](https://github.com/pingdotgg/enriched-markdown/tree/fork/t3-mobile). Its `t3-fork.json` records the exact source commit and upstream base. File/skill link recognition, back navigation from horizontal blocks, table-image presses, and code-block headers use upstream implementations. The fork retains clipboard metadata, parsed asset manifests, signed image source resolution, React media slots, and development-host autolinks. The fork retains native math parsing, scrolling and copying, table layout and gestures, and inline-code layout. Character-reference decoding, iOS intrinsic-width measurement, and HTML clipboard round trips now use the upstream fixes included in Julius's base. RaTeX uses the upstream-released 0.1.15 dependency.
1 +The Enriched Markdown tarball comes from Julius's [`fork/t3-mobile` branch](https://github.com/pingdotgg/enriched-markdown/tree/fork/t3-mobile). Its `t3-fork.json` records the exact source commit and upstream base. React block renderers and signed image sources (`renderers`, `resolveImageSource`) are upstream. The fork carries only changes with an open upstream PR: the `onLinksChange` link list that link pills and iOS link menus read ([#1088](https://github.com/software-mansion/enriched-markdown/pull/1088)), Android inline image alignment ([#1089](https://github.com/software-mansion/enriched-markdown/pull/1089)), clipboard link metadata ([#962](https://github.com/software-mansion/enriched-markdown/pull/962)), and development-host autolinks ([#961](https://github.com/software-mansion/enriched-markdown/pull/961)).
2
3 -To replace it, commit the fork changes, run `yarn install --immutable` and `yarn workspace react-native-enriched-markdown prepare` in the fork checkout, then `node scripts/pack-t3.mjs /path/to/t3code/apps/mobile/deps`. Keep the package version aligned with Julius's `fork/t3-mobile` branch. Rename the archive to include the first eight characters of the source commit, such as `react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz`, so each build has a distinct dependency path without version bumps. Update the tarball path in `apps/mobile/package.json` and `pnpm-workspace.yaml`'s `allowBuilds`, and run `vp i` to update the lockfile. Native clients need rebuilding when this dependency changes.
3 +To replace it, commit the fork changes, run `yarn install --immutable` and `yarn workspace react-native-enriched-markdown prepare` in the fork checkout, then `node scripts/pack-t3.mjs /path/to/t3code/apps/mobile/deps`. Keep the package version aligned with Julius's `fork/t3-mobile` branch. Rename the archive to include the first eight characters of the source commit, such as `react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz`, so each build has a distinct dependency path without version bumps. Update the tarball path in `apps/mobile/package.json` and `pnpm-workspace.yaml`'s `allowBuilds`, and run `vp i` to update the lockfile. Native clients need rebuilding when this dependency changes.
apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz
Binary files a/apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz and /dev/null differ
apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz
Binary files /dev/null and b/apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz differ
apps/mobile/package.json
+1 -1
@@ -127,7 +127,7 @@
127 "react-dom": "catalog:",
128 "react-native": "0.88.0",
129 "react-native-blob-util": "0.25.1",
130 - "react-native-enriched-markdown": "file:deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz",
130 + "react-native-enriched-markdown": "file:deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz",
131 "react-native-gesture-handler": "~3.3.0",
132 "react-native-image-viewing": "^0.2.2",
133 "react-native-keyboard-controller": "1.22.7",
apps/mobile/src/native/EnrichedMarkdownText.tsx
+48 -51
@@ -9,19 +9,20 @@ import {
9 markdownWithInlineFileLinks,
10 markdownWithTableBreaks,
11 } from "../lib/markdownDocument";
12 -import { useCallback, useMemo, useState, type ReactNode } from "react";
12 +import { isValidElement, useCallback, useMemo, useState, type ReactNode } from "react";
13 import { Platform, Share, StyleSheet, View } from "react-native";
14 import {
15 EnrichedMarkdownText,
16 - type DocumentAssetsEvent,
16 + type MarkdownImageBlock,
17 + type MarkdownLinkOccurrence,
18 type MarkdownStyle,
18 - type MarkdownMediaAsset,
19 } from "react-native-enriched-markdown";
20 import type { SelectableMarkdownTextProps } from "./SelectableMarkdownText.types";
21
22 import { useAppearancePreferences } from "../features/settings/appearance/AppearancePreferencesProvider";
23 import { Menu } from "../components/ui/Menu";
24 import { useEnrichedLinkVariants } from "./useEnrichedLinkVariants";
25 +import { useRetryingImageSource } from "./useRetryingImageSource";
26 import { copyTextWithHaptic } from "../lib/copyTextWithHaptic";
27 import {
28 ENRICHED_INLINE_FILE_LINK_REGEX,
@@ -164,33 +165,34 @@ export function MobileEnrichedMarkdownText(props: SelectableMarkdownTextProps) {
165 ),
166 [props.markdown],
167 );
167 - const [documentAssets, setDocumentAssets] = useState<DocumentAssetsEvent["assets"]>([]);
168 - const onDocumentAssets = useCallback(({ assets }: DocumentAssetsEvent) => {
169 - setDocumentAssets((previous) =>
170 - previous.length === assets.length &&
171 - previous.every((asset, index) => {
172 - const next = assets[index]!;
173 - return (
174 - asset.id === next.id &&
175 - asset.kind === next.kind &&
176 - asset.url === next.url &&
177 - asset.altText === next.altText &&
178 - asset.title === next.title &&
179 - asset.placement === next.placement &&
180 - asset.eligible === next.eligible
181 - );
182 - })
168 + const [parsedLinkUrls, setParsedLinkUrls] = useState<ReadonlyArray<string>>([]);
169 + const onLinksChange = useCallback((links: MarkdownLinkOccurrence[]) => {
170 + const urls = [...new Set(links.map((link) => link.url))];
171 + setParsedLinkUrls((previous) =>
172 + previous.length === urls.length && previous.every((url, index) => url === urls[index])
173 ? previous
184 - : assets,
174 + : urls,
175 );
176 }, []);
187 - const { linkVariants, linkPillContent } = useEnrichedLinkVariants(documentAssets, props);
188 - const linkRecognition = useMemo(
189 - () => ({
190 - text: enrichedSkillLinkRegex(props.skills) ?? undefined,
191 - }),
192 - [props.skills],
177 + const skillRegex = useMemo(() => enrichedSkillLinkRegex(props.skills), [props.skills]);
178 + // Skill links come from linkRecognition, which runs as the text is drawn, so
179 + // onLinksChange never reports them. Joined so a streaming tick keeps the value.
180 + const skillLinkKey = useMemo(
181 + () =>
182 + skillRegex
183 + ? [...new Set(markdown.match(new RegExp(skillRegex.source, "gu")) ?? [])].join("\n")
184 + : "",
185 + [markdown, skillRegex],
186 + );
187 + const linkUrls = useMemo(
188 + () =>
189 + skillLinkKey
190 + ? [...new Set([...parsedLinkUrls, ...skillLinkKey.split("\n")])]
191 + : parsedLinkUrls,
192 + [parsedLinkUrls, skillLinkKey],
193 );
194 + const { linkVariants, linkPillContent } = useEnrichedLinkVariants(linkUrls, props);
195 + const linkRecognition = useMemo(() => ({ text: skillRegex ?? undefined }), [skillRegex]);
196 const [activeMenu, setActiveMenu] = useState<{
197 url: string;
198 menu: NonNullable<ReturnType<NonNullable<typeof props.fileContextMenu>>>;
@@ -209,11 +211,7 @@ export function MobileEnrichedMarkdownText(props: SelectableMarkdownTextProps) {
211 () =>
212 Platform.OS === "ios" && (fileContextMenu || onLinkPress)
213 ? Object.fromEntries(
212 - [
213 - ...new Set(
214 - documentAssets.filter((asset) => asset.kind === "link").map((asset) => asset.url),
215 - ),
216 - ].map((url) => {
214 + linkUrls.map((url) => {
215 const menu = fileContextMenu?.(url) ?? {
216 title: url,
217 actions: [
@@ -233,7 +231,7 @@ export function MobileEnrichedMarkdownText(props: SelectableMarkdownTextProps) {
231 }),
232 )
233 : undefined,
236 - [documentAssets, fileContextMenu, onLinkPress, performMenuAction],
234 + [linkUrls, fileContextMenu, onLinkPress, performMenuAction],
235 );
236 const selectionClipboard = useMemo(() => {
237 const fragment = decodeComposerContextFragment(props.contextClipboardFragment);
@@ -264,24 +262,23 @@ export function MobileEnrichedMarkdownText(props: SelectableMarkdownTextProps) {
262 () => ({ ...enrichedStyle(props.textStyle, themeAppearance === "dark"), linkVariants }),
263 [props.textStyle, themeAppearance, linkVariants],
264 );
267 - const renderMedia = useCallback(
268 - (asset: MarkdownMediaAsset) =>
269 - renderImage?.({
270 - href: asset.url,
271 - alt: asset.altText || null,
272 - title: asset.title || null,
273 - }) ?? null,
265 + const renderers = useMemo(
266 + () =>
267 + renderImage
268 + ? {
269 + image: (block: MarkdownImageBlock) => {
270 + const element = renderImage({
271 + href: block.url,
272 + alt: block.altText || null,
273 + title: block.title || null,
274 + });
275 + return isValidElement(element) ? element : undefined;
276 + },
277 + }
278 + : undefined,
279 [renderImage],
280 );
276 - const resolveNativeImageSource = useCallback(
277 - (asset: MarkdownMediaAsset) =>
278 - resolveImageSource?.({
279 - href: asset.url,
280 - alt: asset.altText || null,
281 - title: asset.title || null,
282 - }) ?? null,
283 - [resolveImageSource],
284 - );
281 + const resolveNativeImageSource = useRetryingImageSource(resolveImageSource);
282 const renderMarkdown = (openAndroidMenu?: () => void) => {
283 const onLinkLongPress =
284 Platform.OS === "android" && props.fileContextMenu
@@ -310,9 +307,9 @@ export function MobileEnrichedMarkdownText(props: SelectableMarkdownTextProps) {
307 <EnrichedMarkdownText
308 markdown={markdown}
309 markdownStyle={markdownStyle}
313 - onDocumentAssets={onDocumentAssets}
314 - renderMedia={renderImage ? renderMedia : undefined}
315 - resolveImageSource={resolveImageSource ? resolveNativeImageSource : undefined}
310 + onLinksChange={onLinksChange}
311 + renderers={renderers}
312 + resolveImageSource={resolveNativeImageSource}
313 onImagePress={
314 props.onImagePress || props.onLinkPress
315 ? ({ url }) => (props.onImagePress ?? props.onLinkPress)?.(url)
apps/mobile/src/native/useEnrichedLinkVariants.ts
+7 -11
@@ -1,10 +1,6 @@
1 import { useMemo } from "react";
2 import { Image } from "react-native";
3 -import type {
4 - LinkPillContent,
5 - MarkdownDocumentAsset,
6 - MarkdownStyle,
7 -} from "react-native-enriched-markdown";
3 +import type { LinkPillContent, MarkdownStyle } from "react-native-enriched-markdown";
4 import type { ComposerContextRecord } from "@t3tools/contracts";
5 import { contextChipAccent, contextChipPresentation } from "../lib/composerChipPresentation";
6 import { CONTEXT_CHIP_ICON_SOURCES } from "../lib/contextChipIcons.generated";
@@ -94,20 +90,20 @@ function presentation(
90 }
91
92 export function useEnrichedLinkVariants(
97 - assets: ReadonlyArray<MarkdownDocumentAsset>,
93 + urls: ReadonlyArray<string>,
94 props: SelectableMarkdownTextProps,
95 ) {
96 const { linkCustomization, skills, textStyle } = props;
97 const theme = useUniwindTheme();
98 const links = useMemo(() => {
99 const byUrl = new Map<string, MarkdownLinkCustomization>();
104 - for (const asset of assets) {
105 - if (asset.kind !== "link" || byUrl.has(asset.url)) continue;
106 - const value = presentation(asset.url, { linkCustomization, skills, textStyle });
107 - if (value) byUrl.set(asset.url, value);
100 + for (const url of urls) {
101 + if (byUrl.has(url)) continue;
102 + const value = presentation(url, { linkCustomization, skills, textStyle });
103 + if (value) byUrl.set(url, value);
104 }
105 return byUrl;
110 - }, [assets, linkCustomization, skills, textStyle]);
106 + }, [urls, linkCustomization, skills, textStyle]);
107 const chipForegrounds = useMemo(
108 () =>
109 new Map(
apps/mobile/src/native/useRetryingImageSource.test.tsx new
+47
@@ -0,0 +1,47 @@
1 +import { act, useLayoutEffect } from "react";
2 +import { createRoot } from "react-dom/client";
3 +import { expect, it } from "vite-plus/test";
4 +import type { MarkdownImageSourceResolver } from "./SelectableMarkdownText.types";
5 +import { useRetryingImageSource } from "./useRetryingImageSource";
6 +
7 +let resolveImage: ReturnType<typeof useRetryingImageSource>;
8 +
9 +function Probe(props: { readonly resolve: MarkdownImageSourceResolver }) {
10 + const resolver = useRetryingImageSource(props.resolve);
11 + useLayoutEffect(() => {
12 + resolveImage = resolver;
13 + });
14 + return null;
15 +}
16 +
17 +it("asks the next resolver for an image the previous one could not resolve", async () => {
18 + const root = createRoot(document.createElement("div"));
19 + const offline: MarkdownImageSourceResolver = async () => {
20 + throw new Error("Markdown image is unavailable");
21 + };
22 + await act(async () => root.render(<Probe resolve={offline} />));
23 + const askedOnce = resolveImage!;
24 +
25 + let source: unknown = "pending";
26 + const answered = askedOnce({
27 + id: "img:0:0",
28 + url: "assets/shot.png",
29 + altText: "",
30 + title: "",
31 + placement: "inline",
32 + }).then((value) => {
33 + source = value;
34 + });
35 + await act(async () => {});
36 + expect(source).toBe("pending");
37 +
38 + const online: MarkdownImageSourceResolver = async (image) => ({
39 + uri: `https://host/${image.href}`,
40 + });
41 + await act(async () => root.render(<Probe resolve={online} />));
42 + await answered;
43 +
44 + expect(source).toEqual({ uri: "https://host/assets/shot.png" });
45 + expect(resolveImage).toBe(askedOnce);
46 + act(() => root.unmount());
47 +});
apps/mobile/src/native/useRetryingImageSource.ts new
+43
@@ -0,0 +1,43 @@
1 +import { useLayoutEffect, useMemo, useRef } from "react";
2 +import type { MarkdownImageOccurrence, MarkdownImageSource } from "react-native-enriched-markdown";
3 +import type { MarkdownImageSourceResolver } from "./SelectableMarkdownText.types";
4 +
5 +/**
6 + * Enriched asks about each image once and reads `resolveImageSource` like an
7 + * event handler, so a failed image would keep its placeholder until remount.
8 + * Our resolver fails while the environment is unreachable and is replaced when
9 + * that changes, so a failed image stays pending and asks the next resolver.
10 + */
11 +export function useRetryingImageSource(resolve: MarkdownImageSourceResolver | undefined) {
12 + const latestRef = useRef(resolve);
13 + const retriesRef = useRef(new Set<() => void>());
14 + useLayoutEffect(() => {
15 + latestRef.current = resolve;
16 + const retries = [...retriesRef.current];
17 + retriesRef.current.clear();
18 + for (const retry of retries) retry();
19 + }, [resolve]);
20 +
21 + const enabled = resolve !== undefined;
22 + return useMemo(() => {
23 + if (!enabled) return undefined;
24 + return (image: MarkdownImageOccurrence) =>
25 + new Promise<MarkdownImageSource | undefined>((settle) => {
26 + const request = { href: image.url, alt: image.altText || null, title: image.title || null };
27 + const attempt = () => {
28 + const current = latestRef.current;
29 + if (!current) return;
30 + Promise.resolve()
31 + .then(() => current(request))
32 + .then(
33 + (source) => settle(source ?? undefined),
34 + () => {
35 + if (latestRef.current !== current) attempt();
36 + else retriesRef.current.add(attempt);
37 + },
38 + );
39 + };
40 + attempt();
41 + });
42 + }, [enabled]);
43 +}
apps/mobile/vite.config.ts
+1
@@ -7,6 +7,7 @@ const reactTests = [
7 "src/features/settings/components/BranchNamingSettings.test.tsx",
8 "src/native/NativeHeaderToolbar.test.tsx",
9 "src/native/useRestingTopOffset.test.tsx",
10 + "src/native/useRetryingImageSource.test.tsx",
11 "src/state/use-selected-thread-git-actions.test.tsx",
12 ];
13
pnpm-lock.yaml
+6 -6
@@ -741,8 +741,8 @@ importers:
741 specifier: 0.25.1
742 version: 0.25.1(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
743 react-native-enriched-markdown:
744 - specifier: file:deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz
745 - version: file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz(katex@0.16.47)(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
744 + specifier: file:deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz
745 + version: file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz(katex@0.16.47)(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
746 react-native-gesture-handler:
747 specifier: 3.3.0
748 version: 3.3.0(patch_hash=abe20e1d1c23549297cbbc818e14fe479b41455930d9663135d6b40fe359b626)(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
@@ -10635,9 +10635,9 @@ packages:
10635 react: '*'
10636 react-native: '*'
10637
10638 - react-native-enriched-markdown@file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz:
10639 - resolution: {integrity: sha512-dFBqwCTfgVXNU1wxwwZidHdpMxGCd+8jCPunbdO8fNG0uYVr3RQZmTwX/bC5JdgzFODZ8A7heqNBoukNpPiNtA==, tarball: file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz}
10640 - version: 1.2.0-t3.15
10638 + react-native-enriched-markdown@file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz:
10639 + resolution: {integrity: sha512-3eYvMd4EGUboGP4GoPLf5TF/hWqhPpbCB3AX/z1eQrEdiceizGNKszqGwoLV4M1KyGyWOf2UPNbviZoT21S+8g==, tarball: file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz}
10640 + version: 1.2.0-t3.16
10641 peerDependencies:
10642 katex: '>=0.16.0'
10643 react: '*'
@@ -21177,7 +21177,7 @@ snapshots:
21177 react: 19.3.0
21178 react-native: 0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6)
21179
21180 - react-native-enriched-markdown@file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz(katex@0.16.47)(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0):
21180 + react-native-enriched-markdown@file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz(katex@0.16.47)(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0):
21181 dependencies:
21182 react: 19.3.0
21183 react-native: 0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6)
pnpm-workspace.yaml
+1 -1
@@ -22,7 +22,7 @@ allowBuilds:
22 node-pty: true
23 # Ships N-API prebuilds; its install script only rebuilds from source.
24 objc-js: false
25 - "react-native-enriched-markdown@file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.15-fee84114.tgz": true
25 + "react-native-enriched-markdown@file:apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-8d2f84a8.tgz": true
26 sharp: true
27 "@tsc-rs/typescript": true
28 utf-8-validate: false