mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-17 07:49:45 +02: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,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…
Reference in New Issue
Block a user