Styling not retained in written metadata XML when applied in UI to editorial notes
cc @jordandc
Expected behaviour
Styling added by user in UI should be written into chapter-processed book metadata.
Current behaviour
Styling in some cases is not written into chapter-processed book metadata, such as with editorial notes.
Steps to reproduce
<notes notes-type="ednotes"><p content-type="genetic_counseling"> Genetic counseling is the process of providing individuals and families with information on the nature, mode(s) of inheritance, and implications of genetic disorders to help them make informed medical and personal decisions. The following section deals with genetic risk assessment and the use of family history and genetic testing to clarify genetic status for family members; it is not meant to address all personal, cultural, or ethical issues that may arise or to substitute for consultation with a genetics professional.</p></notes><notes notes-type="ednotes"><p content-type="resources"> GeneReviews staff has selected the following disease-specific and/or umbrella  support organizations and/or registries for the benefit of individuals with this disorder  and their families. GeneReviews is not responsible for the information provided by other  organizations. For information on selection criteria, click here.</p></notes>
QA Steps
- In book metadata for a chapter-processed book: Add an editorial note that has styling and multiple paragraphs
- Have at least one chapter that is published
- Publish the TOC
- Validate the error reported in #924 (comment 81701) is resolved by checking the errors tab
for the issue with bad characters.
- on the note description in book metadata modal add a text which has more than a space between words, like eg.
GeneReviews staff has selected the following disease-specific and/or umbrella support organizations and/or registries for the benefit of individuals with this disorder and their families.
- reload the preview for a book component which has status previewing. The text on the book component preview should appear same as you added on the notes from metadata modal.
Priority
Y, for deployment