Skip to content

Commit cddcc85

Browse files
committed
feat: add description to html stripper
1 parent 3ec78f0 commit cddcc85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plugins/html-stripper.processor.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export class HtmlStripperPlugin extends PostProcessorPlugin {
99

1010
private fieldsToProcess: (keyof RecipeFields)[] = [
1111
'title',
12+
'description',
1213
'instructions',
1314
'ingredients',
1415
]
@@ -71,6 +72,7 @@ export class HtmlStripperPlugin extends PostProcessorPlugin {
7172
.replace(/&lt;/g, '<')
7273
.replace(/&gt;/g, '>')
7374
.replace(/&quot;/g, '"')
75+
.replace(/&#34;/g, '"')
7476
.replace(/&#39;/g, "'")
7577
.trim()
7678
}

0 commit comments

Comments
 (0)