mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ace: reduce docs lines width
This commit is contained in:
@@ -353,7 +353,7 @@ function convertMarkDownTags(text) {
|
||||
|
||||
function convertToHTML(item) {
|
||||
var docText = lang.escapeHTML(item.docText);
|
||||
docText = convertMarkDownTags(wrapText(docText));
|
||||
docText = convertMarkDownTags(wrapText(docText, 40));
|
||||
return [
|
||||
"<b>", lang.escapeHTML(item.def), "</b>", "<hr></hr>", docText, "<br> "
|
||||
].join("");
|
||||
|
||||
Reference in New Issue
Block a user