mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
Allow inline markdown in the changelog for linking to wiki
(cherry picked from commit c73649b19b76b9032f9b5340590dbae783ae259f)
This commit is contained in:
parent
00f631c623
commit
863252d7e9
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
|
||||||
import styles from './UpdateChanges.css';
|
import styles from './UpdateChanges.css';
|
||||||
|
|
||||||
class UpdateChanges extends Component {
|
class UpdateChanges extends Component {
|
||||||
|
@ -25,7 +26,7 @@ class UpdateChanges extends Component {
|
||||||
changes.map((change, index) => {
|
changes.map((change, index) => {
|
||||||
return (
|
return (
|
||||||
<li key={index}>
|
<li key={index}>
|
||||||
{change}
|
<InlineMarkdown data={change} />
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue