[dokuwiki] New PR: remove any suffix from extension

  • From: "tormec" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 27 Oct 2018 20:20:03 +0200 (CEST)

Hi,

tormec opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/2558:

In DokuWiki I would like to include a downloadable code block using the syntax:
```
<code language https://host/user/repo/file.name.ext#L-N>
</code>
```
The path to the file is `https://host/user/repo/file.name.ext` and has ;
extension `ext` but it also carries a suffix which could be anything that helps 
to better identify the snippet of code.

The issue is that  DokuWiki recognizes as extension `ext#L-N` which is, for 
him, an unknown mime type and so applies the icon for "general" document.

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

ec0b6150-da14-11e8-980e-d2fbd3771390


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: remove any suffix from extension - tormec