Special character: & not tagged properly
Expected behaviour
For proper display on Bookshelf site(s): special characters should be tagged according to Bookshelf tagging guidelines.
Current behaviour
When in the metadata modal, we use the character &, book components fail to load. Example book here
Steps to reproduce
- Create a chapter processed book
- Fill some fields on the metadata, which also have the character '&'.
- Submit or reload preview for the book component
- See the errors on the loading preview.
cc: @pokhi this might relate to the changes done with MR !874 (merged) so you can have a look at this.
QA Steps
- Create a chapter processed book
- Fill some fields on the metadata, which also have the character '&'.
- Upload a chapter and submit or reload preview.
- Check that the chapter goes successfully to Previewing status. You can also check in the converted file that the '&' symbol is replaced with '&'
Note: if the chapter already exists, it must be resubmitted and reloaded in order to resolve the issue.
For the comment of TOC errors related with the & character:
- On a word chapter processed book upload the following: sciencv.docx
- Submit and publish this chapter
- When the chapter is published, publish the TOC of the book which should be successful.
Note: if the TOC already exists, it must be republished after the chapter has been reloaded in order to resolve the issue.