Skip to content

Commit

Permalink
Merge pull request #915 from MuckRock/giant-tip-o-day
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast authored Dec 3, 2024
2 parents d5980d5 + f5c3d39 commit 9a8361b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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

0 comments on commit 9a8361b

Please sign in to comment.