Browse Source

Made Paste API Help show the aliase name for the format instead of the readable name.

pull/50/head
Teknikode 6 years ago
parent
commit
e39cc27a90
  1. 2
      Teknik/Areas/Help/Views/Help/API/v1/Paste.cshtml

2
Teknik/Areas/Help/Views/Help/API/v1/Paste.cshtml

@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
<select name="format" class="selectpicker">
@foreach (Highlighter.Lexer format in Highlighter.Lexers.OrderBy(l => l.Name))
{
<option value="@format.Aliases.FirstOrDefault()">@format.Name</option>
<option value="@format.Aliases.FirstOrDefault()">@format.Aliases.FirstOrDefault()</option>
}
</select>
</td>

Loading…
Cancel
Save