Skip to content

Commit

Permalink
replace some attr with string arg to be usable like printf.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Jul 17, 2023
1 parent bc0ebe7 commit 456cda8
Show file tree
Hide file tree
Showing 3 changed files with 652 additions and 652 deletions.
24 changes: 12 additions & 12 deletions pkg/app/gen/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -1138,8 +1138,8 @@ var attrs = map[string]attr{
},
"cite": {
Name: "Cite",
Type: "url",
Doc: "specifies a URL which explains the quote/deleted/inserted text.",
Type: "fmt",
Doc: "specifies a URL which explains the quote/deleted/inserted text with the given format and values.",
},
"class": {
Name: "Class",
Expand Down Expand Up @@ -1185,8 +1185,8 @@ var attrs = map[string]attr{
// D:
"data": {
Name: "Data",
Type: "url",
Doc: "specifies the URL of the resource to be used by the object.",
Type: "fmt",
Doc: "specifies the URL of the resource to be used by the object with the given format and values.",
},
"data-*": {
Name: "DataSet",
Expand Down Expand Up @@ -1306,8 +1306,8 @@ var attrs = map[string]attr{
},
"href": {
Name: "Href",
Type: "url",
Doc: "specifies the URL of the page the link goes to.",
Type: "fmt",
Doc: "specifies the URL of the page the link goes to with the given format and values.",
},
"hreflang": {
Name: "HrefLang",
Expand Down Expand Up @@ -1550,8 +1550,8 @@ var attrs = map[string]attr{
},
"src": {
Name: "Src",
Type: "url",
Doc: "specifies the URL of the media file.",
Type: "fmt",
Doc: "specifies the URL of the media file with the given format and values.",
},
"srcdoc": {
Name: "SrcDoc",
Expand All @@ -1565,8 +1565,8 @@ var attrs = map[string]attr{
},
"srcset": {
Name: "SrcSet",
Type: "url",
Doc: "specifies the URL of the image to use in different situations.",
Type: "fmt",
Doc: "specifies the URL of the image to use in different situations with the given format and values.",
},
"start": {
Name: "Start",
Expand Down Expand Up @@ -1602,8 +1602,8 @@ var attrs = map[string]attr{
},
"title": {
Name: "Title",
Type: "string",
Doc: "specifies extra information about an element.",
Type: "fmt",
Doc: "specifies extra information about an element with the given format and values.",
},
"type": {
Name: "Type",
Expand Down
Loading

0 comments on commit 456cda8

Please sign in to comment.