commit e28b6770f6d85396d3cf887ecad8bc2d63313eb6 parent 6181be3fd8fa44037201a6e29cf6f4f98e88be4b Author: falkTX <falktx@falktx.com> Date: Sat, 26 Jun 2021 14:39:12 +0100 Fix lv2 export Wasnt this fixed already? Diffstat:
M | distrho/src/DistrhoPluginLV2export.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/distrho/src/DistrhoPluginLV2export.cpp b/distrho/src/DistrhoPluginLV2export.cpp @@ -863,8 +863,8 @@ void lv2_generate_ttl(const char* const basename) if (comment.isNotEmpty()) { - if (comment.contains('"')) - pluginString += " rdfs:comment \"" + comment + "\" ;\n\n"; + if (comment.contains('"') || comment.contains('\n')) + pluginString += " rdfs:comment \"\"\"" + comment + "\"\"\" ;\n\n"; else pluginString += " rdfs:comment \"" + comment + "\" ;\n\n"; }