Skip to content

Commit 4b96858

Browse files
VIA-618 SB Add p tag to string-only callout component.
1 parent 0f19042 commit 4b96858

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/services/content-api/parsers/content-styling-service.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,11 @@ function styleCallout(callout: HeadingWithTypedContent | undefined): StyledPageS
170170
case "string":
171171
return {
172172
heading: callout.heading,
173-
component: <div data-testid="callout-string">{callout.content}</div>,
173+
component: (
174+
<div data-testid="callout-string">
175+
<p>{callout.content}</p>
176+
</div>
177+
),
174178
};
175179
}
176180
}

0 commit comments

Comments
 (0)