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

How are the tags detected in virtualHtml? #348

Closed
algomaster99 opened this issue Oct 4, 2019 · 1 comment
Closed

How are the tags detected in virtualHtml? #348

algomaster99 opened this issue Oct 4, 2019 · 1 comment

Comments

@algomaster99
Copy link

When I parse this:-

<details>

### Expand to see resulting DVC-file

# ...
deps:
  - etag: '"f432e270cd634c51296ecd2bc2f5e752-5"'
    path: https://data.dvc.org/get-started/data.xml
outs:
  - md5: a304afb96060aad90176268345e10355
    path: data.xml
    cache: true
    metric: false
    persist: false

<abbr>cache</abbr>
DVC checks the headers returned by the server, looking for a strong
[ETag](https://en.wikipedia.org/wiki/HTTP_ETag) or a
[Content-MD5](https://tools.ietf.org/html/rfc1864) header, and uses it to know
if the file has changed and we need to download it again.

</details>

I can only get abbr as the output for props.tag. Why does it ignore the details tag?

@ChristianMurphy
Copy link
Member

How are the tags detected in virtualHtml?

If you want the full details I'd recommend reading the source.


#428 correctly parses the details tag, which will resolve the issue you are experiencing.

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

No branches or pull requests

2 participants