diff --git a/package.json b/package.json
index 7fc167f..48099dd 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "lexiconga",
- "version": "2.2.0",
+ "version": "2.2.1",
"description": "The quick and easy dictionary builder for constructed languages.",
"main": "template-index.html",
"repository": "https://github.com/Alamantus/Lexiconga.git",
diff --git a/src/js/render/details.js b/src/js/render/details.js
index e0b18b8..7a26c2d 100644
--- a/src/js/render/details.js
+++ b/src/js/render/details.js
@@ -123,7 +123,7 @@ export function renderPartsOfSpeech(onlyOptions = false) {
searchHTML = '';
window.currentDictionary.partsOfSpeech.forEach(partOfSpeech => {
partOfSpeech = removeTags(partOfSpeech);
- optionsHTML += ``;
+ optionsHTML += ``;
searchHTML += ``;
});
searchHTML += `Check All Uncheck All`;
diff --git a/src/js/render/words.js b/src/js/render/words.js
index e8e0d56..4bf9feb 100644
--- a/src/js/render/words.js
+++ b/src/js/render/words.js
@@ -160,25 +160,26 @@ export function renderEditForm(wordId = false) {
wordId = typeof wordId.target === 'undefined' ? wordId : parseInt(this.id.replace('edit_', ''));
const word = window.currentDictionary.words.find(w => w.wordId === wordId);
if (word) {
+ const escapeQuotes = (value) => value.replace(/"/g, '"');
const wordHasAdvancedFields = (word.hasOwnProperty('etymology') && word.etymology)
|| (word.hasOwnProperty('related') && word.related) || (word.hasOwnProperty('principalParts') && word.principalParts);
- const ipaPronunciationField = `
+ const ipaPronunciationField = `
Field Help`;
- const plainPronunciationField = ``;
+ const plainPronunciationField = ``;
const editForm = `