diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-08-15 19:04:54 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-08-15 19:04:54 +0300 |
commit | 84a98483499a8a50461a422ef77e1e7b9c78db33 (patch) | |
tree | e59b170c08ecda6e64e84c3c0724430ed94c8a10 /lib/Detail.php | |
parent | a9d4a0fce3b6a16a3fc617246e3b9e15e000207e (diff) |
Fix markdown rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/Detail.php')
-rw-r--r-- | lib/Detail.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Detail.php b/lib/Detail.php index 0c30446..935ed3f 100644 --- a/lib/Detail.php +++ b/lib/Detail.php @@ -23,6 +23,8 @@ namespace OCA\IssueTemplate; +use OCP\IRequest; + class Detail implements IDetail { private $section; @@ -51,6 +53,11 @@ class Detail implements IDetail { } public function getInformation() { + /** @var IRequest $request */ + $request = \OC::$server->query(IRequest::class); + if ($request->getParam('details')) { + return $request->getParam('details')[$this->getSection()][$this->getIdentifier()]; + } return $this->information; } |