Apparently an upgrade of our Forgejo version lead to `\n` no longer being rendered as a newline in mermaid. Replace with `<br/>` which does the right thing.
This commit is contained in:
parent
926d546c42
commit
da085da38f
1 changed files with 2 additions and 2 deletions
|
@ -88,10 +88,10 @@ impl Element {
|
||||||
} = self;
|
} = self;
|
||||||
|
|
||||||
let label = if simple {
|
let label = if simple {
|
||||||
format!(r##"#{issue_number} | {status}\n<i>{ty}</i>\n<b>{description}</b>"##)
|
format!(r##"#{issue_number} | {status}<br/><i>{ty}</i><br/><b>{description}</b>"##)
|
||||||
} else {
|
} else {
|
||||||
format!(
|
format!(
|
||||||
r##"<a href='{repo_url}/issues/{issue_number}' target='_blank'>#{issue_number}</a> | {status}\n<i>{ty}</i>\n<b>{description}</b>"##
|
r##"<a href='{repo_url}/issues/{issue_number}' target='_blank'>#{issue_number}</a> | {status}<br/><i>{ty}</i><br/><b>{description}</b>"##
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue