File tree Expand file tree Collapse file tree
src/main/java/net/beardbot/myanimelist/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919import lombok .Data ;
2020import net .beardbot .myanimelist .model .adapter .InputDateAdapter ;
2121import net .beardbot .myanimelist .model .adapter .SemicolonSeperatedListAdapter ;
22+ import net .beardbot .myanimelist .model .adapter .MarkdownAndHtmlRemovalAdapter ;
2223
2324import javax .xml .bind .annotation .XmlAccessType ;
2425import javax .xml .bind .annotation .XmlAccessorType ;
@@ -66,6 +67,7 @@ public class Anime {
6667 private Date endDate ;
6768
6869 @ XmlElement (name = "synopsis" )
70+ @ XmlJavaTypeAdapter (MarkdownAndHtmlRemovalAdapter .class )
6971 private String synopsis ;
7072
7173 @ XmlElement (name = "image" )
Original file line number Diff line number Diff line change 1919import lombok .Data ;
2020import net .beardbot .myanimelist .model .adapter .InputDateAdapter ;
2121import net .beardbot .myanimelist .model .adapter .SemicolonSeperatedListAdapter ;
22+ import net .beardbot .myanimelist .model .adapter .MarkdownAndHtmlRemovalAdapter ;
2223
2324import javax .xml .bind .annotation .XmlAccessType ;
2425import javax .xml .bind .annotation .XmlAccessorType ;
@@ -69,6 +70,7 @@ public class Manga {
6970 private Date endDate ;
7071
7172 @ XmlElement (name = "synopsis" )
73+ @ XmlJavaTypeAdapter (MarkdownAndHtmlRemovalAdapter .class )
7274 private String synopsis ;
7375
7476 @ XmlElement (name = "image" )
You can’t perform that action at this time.
0 commit comments