cuba-platform / yarg

Yet Another Report Generator - CUBA Platform reporting engine
https://www.cuba-platform.com
Apache License 2.0
247 stars 74 forks source link

Wrong HTML content displaying in generated report using DOCX and PDF output formats #145

Closed owlet1997 closed 3 years ago

owlet1997 commented 3 years ago

based on forum's question

Environment

CUBA Platform version: 7.2.13 CUBA Studio plugin version: 15.4-202 IntelliJ version: IntelliJ IDEA 2021.1.1 (Community Edition) YARG version: 2.2.9

Description of the bug or enhancement

TC:

  1. Open attached project -> update db -> run

  2. Login as admin -> Open new entity browser

  3. Create new one -> set quite comlicated formatted string like this: image image

  4. Open Reports -> Reports -> Import attached report

  5. Run this report - > choose created entity

Expected behavior

Formatting is saved

Actual behavior

Part of formatting is lost: image

In output DOCX format part of formatting is also lost: image

Report for entity New entity (2).zip helll.zip

owlet1997 commented 3 years ago

Case:

template DOCX -> output HTML

Entity: image

AR: HTML content isn't displayed image

Report.zip