cuba-platform / yarg

Yet Another Report Generator - CUBA Platform reporting engine

Home Page:https://www.cuba-platform.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

owlet1997 opened this issue · comments

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

Case:

template DOCX -> output HTML

Entity:
image

AR:
HTML content isn't displayed
image

Report.zip