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.
Merge commit 'fe0f1c9e22c7c9adc2002466fbdae787f5e8ad5a' into HEAD