You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had problems with .docx files containing html tags of type <a> </a>, when we wanted to export them to epub. Checking the code in the file: bookContructor.js through a regular expression we excluded this type of tags and allowed to export them.
Code:
if (/(<a(.*?)>)+/gi.test(contentBook)) {
contentBook = contentBook.replace(/(<a(.*?)>)+/gi, '')
}
if (/(<\/a>)+/gi.test(contentBook)) {
contentBook = contentBook.replace(/(<\/a>)+/gi, '')
}
We had problems with .docx files containing html tags of type
<a> </a>, when we wanted to export them to epub. Checking the code in the file: bookContructor.js through a regular expression we excluded this type of tags and allowed to export them.Code: