Skip to content

Improve <embed-code> tag parsing#30

Open
Vladyslav-Kuksiuk wants to merge 8 commits into
masterfrom
improve-error-messages
Open

Improve <embed-code> tag parsing#30
Vladyslav-Kuksiuk wants to merge 8 commits into
masterfrom
improve-error-messages

Conversation

@Vladyslav-Kuksiuk
Copy link
Copy Markdown
Collaborator

@Vladyslav-Kuksiuk Vladyslav-Kuksiuk commented May 13, 2026

This PR:

  • Fixes multiline attributes parsing for the <embed-code> tag.
    Previously, the multiline tag without additional spaces could not be parsed correctly, now it works:
    <embed-code
    file="org/example/Hello.java"
    start="public class Hello"
    end="System.out.println" />
    ```java
    ```
    
  • Improves related error messages, for example:
    image
    instead of:
    index out of range [-1]
    
  • Improves work with file/folder paths.

@Vladyslav-Kuksiuk Vladyslav-Kuksiuk self-assigned this May 13, 2026
@Vladyslav-Kuksiuk Vladyslav-Kuksiuk marked this pull request as ready for review May 13, 2026 10:51
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.

1 participant