Skip to content

[WIP] Fix issue with invisible text surrounded by angle brackets - #350

Closed
brianhuster with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-invisible-text-rendering
Closed

[WIP] Fix issue with invisible text surrounded by angle brackets#350
brianhuster with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-invisible-text-rendering

Conversation

Copilot AI commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>bug: texts surrounded by <> become invisible when rendered</issue_title>
<issue_description>### Did you read the documentation and check existing issues?

Neovim version (nvim -v)

0.11.0

Operating system/version

Ubuntu 22.04

Browser/version

Chrome 143.0.7499.147

Describe the bug

Some texts in markdown become invisible when viewing in browser. Specifically anything with < and > surrounded.

Steps To Reproduce

  1. Clone the plugin git clone https://github.com/brianhuster/live-preview.nvim
  2. Open Nvim with minimal repro file nvim -u minimal_init.lua
  3. Create a markdown file with text: ls <path>
  4. Run live preview
  5. See only ls in browser

Expected Behavior

Should render the markdown file accurately

Health

==============================================================================
livepreview:                             require("livepreview.health").check()

Check dependencies ~
- OK Nvim 0.11.0 is compatible with Live Preview
- OK `sh` is available
- OK `mini.pick` is installed
- WARNING `telescope` (optional) is not installed
- WARNING `vim.ui.select` (optional) is not installed
- WARNING `fzf-lua` (optional) is not installed
- OK `snacks.picker` is installed

Checkhealth server and process ~
- OK This Nvim process's PID is 38147
- OK Server is healthy on port 5500
- OK Server root: /tmp

Check your live-preview.nvim config ~
- Your configuration table >lua
  {
    address = "0.0.0.0",
    browser = "default",
    dynamic_root = false,
    picker = "",
    port = 5500,
    sync_scroll = true
  }

Minimal config to reproduce

vim.cmd.set "rtp+=/path/to/live-preview.nvim"

require("livepreview.config").set {}
```</issue_description>

## Comments on the Issue (you are @copilot in this section)

<comments>
<comment_new><author>@brianhuster</author><body>
Because Markdown can embed HTML. The markdown previewer on Github also behaves like that. You can escape those `<` and `>` to display them on preview, like `\<abc\>`</body></comment_new>
</comments>

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: texts surrounded by <> become invisible when rendered

2 participants