apache / apache/maven-doxia

Xhtml5Sink.date_() emits uncommon meta name

Open
#1,040 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Java
Stars
34
Forks
54
Avg merge
1d 12h
Merged PRs (30d)
16

Description

### Affected version

2.0.0

### Bug description

The date is emitted as `` which is not a known name according to https://html.spec.whatwg.org/multipage/semantics.html#the-meta-element. Although https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#date-- is quite fuzzy about the semantics I think instead emitting one of the meta extensions from https://wiki.whatwg.org/wiki/MetaExtensions makes more sense.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate Xhtml5Sink.date_() and inspect how it emits the date meta element. Check the HTML meta-element and MetaExtensions references linked in the issue to determine the appropriate metadata name, then update the output and add or adjust the relevant test if one is present. Done means the date uses an accepted meta extension rather than name="date".

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.