Skip to content
Snippets Groups Projects
Commit 62f87220 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

remove escapes from commas in search results

parent 222672e7
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,8 @@ function add_doc_to_index(filename, data) {
.match(/#X text \-?[0-9]+ \-?[0-9]+ DESCRIPTION ([\s\S]*?);/i);
keywords = keywords && keywords.length > 1 ? keywords[1].trim() : null;
desc = desc && desc.length > 1 ? desc[1].trim() : null;
// Remove the Pd escapes for commas
desc = desc ? desc.replace(" \\,", ",") : null;
if (desc) {
// format Pd's "comma atoms" as normal commas
desc = desc.replace(" \\,", ",");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment