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

Visual: Preview window display #56

Open
mlsambale opened this issue Jun 27, 2024 · 3 comments
Open

Visual: Preview window display #56

mlsambale opened this issue Jun 27, 2024 · 3 comments
Labels

Comments

@mlsambale
Copy link

HI,
i (think) found a minor bug in the preview render when using multiline comment (possibly only in Javascript).
Following markup from a .markup file:
`{code:language=JavaScript}
/**

  • @fileoverview Description of file. Lorem ipsum dolor sit amet, consectetur
  • adipiscing elit, sed do eiusmod tempor incididunt.
    */
    {code}`

produces:
` / * @fileoverview Description of file. Lorem ipsum dolor sit amet, consectetur

  • adipiscing elit, sed do eiusmod tempor incididunt.
    */`

If pasted into confluence proper it produces the expected result.
I suspect that the '*' char isn't escaped correctly in a code block in preview.

@denco
Copy link
Owner

denco commented Jul 1, 2024

Hi @mlsambale thx for providing issue, will check this soon, should be possible make short time fix.

@denco denco added the bug label Jul 1, 2024
@mlsambale
Copy link
Author

If you're interested in more of these type of incositencies (preview visual bugs) i can provide a couple more that poped up. Especially when there are blocks in blocks (like for example using a '{color}' inside a monospaced '{{}}' block).

@denco
Copy link
Owner

denco commented Jul 2, 2024

Hello @mlsambale shure would be great and If it will be not too complicated, could U please create separate issues? Thx and greez!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants