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

"INVALID URL" error for images with line break/irregular whitespace #904

Closed
robole opened this issue Oct 15, 2023 · 1 comment · Fixed by #918
Closed

"INVALID URL" error for images with line break/irregular whitespace #904

robole opened this issue Oct 15, 2023 · 1 comment · Fixed by #918
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded

Comments

@robole
Copy link

robole commented Oct 15, 2023

Hi,

Thanks for your efforts working on this package.

I am getting an "INVALID URL" error when I run vsce package. I tracked down what is triggering the error to the following snippet in the README.md of my extension:

<p align="center">
<img src="img/screenshots/demo.webp" width="556" height="482"
alt="recording of  exploring view opened from the command 'Snippets Ranger: Show me that dur Range, Partner'. An entry of 'Markdown snippets' from the table of contents is selected and clicked, it takes the user down to the table with the snippets displayed for that extension."/>
</p>

It appears that the issue was cause by a line break/whitespace.

Kazam_screenshot_00007

Here are 2 consecutive commits for my extension with the substantive change to the README that enable successful packaging:

I am using VSCE version 2.1.5.

It also might be worthwhile including the URL in the error for tracking down the issue more easily. It was a bit of a wild goose chase for me to fix this!!!

@robole robole changed the title "INVALID URL" error for images with line break/ireggular whitespace "INVALID URL" error for images with line break/irregular whitespace Oct 15, 2023
@joaomoreno joaomoreno self-assigned this Dec 15, 2023
@joaomoreno joaomoreno added the bug Issue identified by VS Code Team member as probable bug label Dec 15, 2023
@joaomoreno joaomoreno added this to the December / January 2024 milestone Dec 15, 2023
@joaomoreno
Copy link
Member

Thanks for the repro steps!

joaomoreno added a commit that referenced this issue Dec 15, 2023
joaomoreno added a commit that referenced this issue Dec 15, 2023
@rzhao271 rzhao271 added the verified Verification succeeded label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants