adobe / adobe/htl-spec

The scheme option description unclear

Open
#88 0 comments 0 reactions 1 assignee Claimed by @raducotescu View on GitHub
clarification
Dominant language
No language data
Stars
288
Forks
142
PR merge metrics
No merged PRs in 30d

Description

It states:

> `scheme` - allows adding or removing the scheme part for a URI
>
> ```
> ${'//example.com/path/page.html' @ scheme='http'}
>
>
> ${'http://example.com/path/page.html' @ scheme='https'}
>
>
> ${'http://example.com/path/page.html' @ scheme=''}
>
>
> ${'http://example.com/path/page.html' @ scheme}
>
> ```

It looks like it doesn't remove scheme, even in examples above. I checked Sightly implementation and it also doesn't remove scheme.
I assume that removed scheme means the following output:
> ```
> ${'http://example.com/path/page.html' @ scheme=''}
>
> ```

Could you please clarify it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.