Skip to content
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/app/plugins/markdown/extensions/matrix-spoiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const matrixSpoilerExtension = {
) {
// Only match if || at the very start of the remaining text
if (!src.startsWith('||')) return undefined;
const rule = /^\|\|(.+?)\|\|/;
const rule = /^\|\|(.+?)\|\|/s;
const match = rule.exec(src);
if (match) {
const token = {
Expand Down
1 change: 0 additions & 1 deletion src/app/styles/CustomHtml.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export const Code = style([
const SpoilerBase = style([
DefaultReset,
{
padding: `0 ${config.space.S100}`,
backgroundColor: color.SurfaceVariant.ContainerLine,
borderRadius: config.radii.R300,
selectors: {
Expand Down
Loading