PLF-6058: Failed to render Wiki page in Catalan

Problem analysis:
* Some labels in Catalan contain apostrophe. This mark is misinterpreted as parameter separator in JavaScript.

Fix description:
* Escape these labels before adding them to JavaScript block.