| 53 | } |
| 54 | |
| 55 | QString reprocessMarkdown(QByteArray markdown) |
| 56 | { |
| 57 | HoeDown hoedown; |
| 58 | QString output = hoedown.process(markdown); |
| 59 | |
| 60 | // HACK: easier than customizing hoedown |
| 61 | output.replace(QRegExp("GH-([0-9]+)"), "<a href=\"https://github.com/MultiMC/Launcher/issues/\\1\">GH-\\1</a>"); |
| 62 | qDebug() << output; |
| 63 | return output; |
| 64 | } |
| 65 | |
| 66 | QString reprocessCommits(QByteArray json) |
| 67 | { |
no test coverage detected