Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wider tip of the day, allow p tags #915

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const CSRF_HEADER_NAME = "X-CSRFToken";

export const POLL_INTERVAL = 5000;

export const ALLOWED_TAGS = ["a", "strong", "em", "b", "i"];
export const ALLOWED_TAGS = ["a", "strong", "em", "b", "i", "code", "p"];
export const ALLOWED_ATTR = ["href"];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ exports[`AddOnListItem 2`] = `
<div
class="description svelte-1sp09hk"
>
This Add-On uses Azure’s Document Intelligence API to OCR documents. The document(s) must be public to be processed. This Add-On uses 1 AI Credit per page.
<p>
This Add-On uses Azure’s Document Intelligence API to OCR documents. The document(s) must be public to be processed. This Add-On uses 1 AI Credit per page.
</p>
</div>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/common/TipOfDay.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
.message {
flex: 1 1 auto;
line-height: 1.5;
max-width: 48rem;
max-width: 80rem;
padding: 0 1.5rem;
}
.close {
Expand Down
Loading