Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 BUG] Issue with center tag #2126

Open
1 of 7 tasks
FlorianJacta opened this issue Oct 22, 2024 · 3 comments
Open
1 of 7 tasks

[🐛 BUG] Issue with center tag #2126

FlorianJacta opened this issue Oct 22, 2024 · 3 comments
Labels
🖰 GUI Related to GUI 🆘 Help wanted Open to participation from the community 💥Malfunction Addresses an identified problem. 🟧 Priority: High Must be addressed as soon

Comments

@FlorianJacta
Copy link
Member

FlorianJacta commented Oct 22, 2024

What went wrong? 🤔

Using center tags along with visual elements will break the UI.

--- 1 warning(s) were found for page '/' in variable 'md' ---
 - Warning 1: Missing leading pipe '|' in opening tag line 2: '<center> <|Hello|text|> </center>'.
--------------------------------------------------------------

The workaround is to:

md = """
<center> <|Hello|text|> </center>
"""

->

md = """
<center>
<|Hello|text|>
</center>
"""

Expected Behavior

It shouldn't break like in 3.1 and should center the viz element. It should be backported.

Steps to Reproduce Issue

from taipy import Gui

md = """
<center> <|Hello|text|> </center>
"""

Gui(md).run()

Screenshots

image

Version of Taipy

4.0

Acceptance Criteria

  • A unit test reproducing the bug is added.
  • Any new code is covered by a unit tested.
  • Check code coverage is at least 90%.
  • The bug reporter validated the fix.
  • Related issue(s) in taipy-doc are created for documentation and Release Notes are updated.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@naaa760
Copy link

naaa760 commented Oct 23, 2024

Hello @FlorianJacta
I am sorry the screenshot is not visible.

@FlorianJacta
Copy link
Member Author

It is @naaa760 . This is the screenshot; there is nothing when there should be something

@jrobinAV
Copy link
Member

jrobinAV commented Nov 8, 2024

ThIs looks like a markdown parsing issue and not a center tag issue.

@jrobinAV jrobinAV added the 🆘 Help wanted Open to participation from the community label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖰 GUI Related to GUI 🆘 Help wanted Open to participation from the community 💥Malfunction Addresses an identified problem. 🟧 Priority: High Must be addressed as soon
Projects
None yet
Development

No branches or pull requests

3 participants