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

Handle spaces in the URL #12

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Handle spaces in the URL #12

merged 1 commit into from
Jun 24, 2024

Conversation

letmutex
Copy link
Owner

Currently, htmd doesn't handle links with spaces in them, according to CommonMark Spec, they should be surrounded by < and >.

[Link](<https://example.com/Some Page.html>)

![Image](<https://example.com/Some Image.jpg>)

Some tools (Such as VS Code) cannot render these links without <...>

@letmutex letmutex merged commit 702e8c1 into main Jun 24, 2024
1 check passed
@letmutex letmutex deleted the handle-spaces-in-url branch June 24, 2024 23:11
timonv pushed a commit to bosun-ai/swiftide that referenced this pull request Jun 28, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [htmd](https://togithub.com/letmutex/htmd) | dependencies | patch |
`0.1.3` -> `0.1.5` |

---

### Release Notes

<details>
<summary>letmutex/htmd (htmd)</summary>

### [`v0.1.5`](https://togithub.com/letmutex/htmd/releases/tag/v0.1.5)

[Compare
Source](https://togithub.com/letmutex/htmd/compare/v0.1.4...v0.1.5)

#### What's Changed

- Change all fields of Element to references by
[@&#8203;letmutex](https://togithub.com/letmutex) in
[letmutex/htmd#13
- Support resolving code block language from pre tag by
[@&#8203;letmutex](https://togithub.com/letmutex) in
[letmutex/htmd#15

**Full Changelog**:
letmutex/htmd@v0.1.4...v0.1.5

### [`v0.1.4`](https://togithub.com/letmutex/htmd/releases/tag/v0.1.4)

[Compare
Source](https://togithub.com/letmutex/htmd/compare/v0.1.3...v0.1.4)

#### What's Changed

- Add a benchmark for `convert()` by
[@&#8203;letmutex](https://togithub.com/letmutex) in
[letmutex/htmd#9
- Optimize string concatenation, this makes htmd **~20%** faster! by
[@&#8203;letmutex](https://togithub.com/letmutex) in
[letmutex/htmd#10
- Optimize get_node_tag_name(), this makes htmd **~23%** faster! by
[@&#8203;letmutex](https://togithub.com/letmutex) in
[letmutex/htmd#11
- Handle spaces in the URL by
[@&#8203;letmutex](https://togithub.com/letmutex) in
[letmutex/htmd#12

**Full Changelog**:
letmutex/htmd@v0.1.3...v0.1.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bosun-ai/swiftide).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

1 participant