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 with emoji as first caracter #135

Open
lascapi opened this issue Jan 29, 2025 · 4 comments
Open

Bug with emoji as first caracter #135

lascapi opened this issue Jan 29, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@lascapi
Copy link

lascapi commented Jan 29, 2025

Hi there, I found an anoying bug in Orgro 1.52.3

When I open a .org file that contain a note like: 

* 🙂 a title

Some notes 

the view is broken, it show plain gray.

Image
Image

By the way, thank you for this app :)

@amake amake added the bug Something isn't working label Jan 29, 2025
amake added a commit to amake/org_flutter that referenced this issue Jan 30, 2025
@amake
Copy link
Owner

amake commented Jan 30, 2025

Thanks for the report. This will be fixed in v1.54.1, ready for testing soon:

@llcc
Copy link

llcc commented Jan 30, 2025

Same issues also occurred on my side, except the causing root is underline.
Please refer to the debug file below.

#+TITLE:Orgro underline issues

* Normal underline elements work well

1. abc_bar
2. abc_{bar}

But it cause problems when any underline element exists in a metaline like =#+TITLE:=, =#+AUTHOR:=, =#+CALL=, etc.
Please see examples below.

* Name Meta line with underline

** Gray out

#+NAME: tensile_QUbfC2
| a | b | c |
|---+---+---|
| 1 | 2 | 3 |

** Works well

#+NAME: tensile-QUbfC2
| a | b | c |
|---+---+---|
| 1 | 2 | 3 |

* Call meta line with underline

** Gray out

#+CALL: Data(data=tensile_QUBfC2) :dir 'attach

** Works well

#+CALL: Data(data=tensile-QUBfC2) :dir 'attach

* CAPTION meta line with underline elements

** Gray out

#+CAPTION: [[https:www.google.com][Google_site]]
[[attachment:image-CV6zXT20240910-084948.png]]

** Works well

#+CAPTION: [[https:www.google.com][Google]]
[[attachment:image-CV6zXT20240910-084948.png]]

@llcc
Copy link

llcc commented Jan 30, 2025

I also found ^ causing the problem too, so super/subscript might relate to it.

| a | b | c | c^2 |
|---+---+---+----|
| 1 | 2 | 3 |  9 |
#+TBLFM: $4=$3^2

@amake
Copy link
Owner

amake commented Jan 30, 2025

Thanks for the additional reports. Everything will be fixed in v1.54.2, ready for testing soon:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants