Skip to content

Commit

Permalink
Apply fix for base64 image in src html
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikage777 committed Apr 1, 2024
1 parent f04b368 commit 146f670
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/transformJSONContent/transformHTML.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export const transform = entryValueTransform(async html => {
...defaultSchema,
protocols: {
...defaultSchema.protocols,
href: [...(defaultSchema?.protocols?.href || []), 'tel']
href: [...(defaultSchema?.protocols?.href || []), 'tel'],
src: [...(defaultSchema.protocols?.src ?? []), 'data']
}
};

Expand Down

0 comments on commit 146f670

Please sign in to comment.