Skip to content

Commit

Permalink
improve html descs
Browse files Browse the repository at this point in the history
  • Loading branch information
se-omar committed Jan 14, 2024
1 parent 7cc1c97 commit 5bb2962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func addHtmlLookup() {
AddFuncLookup("inputname", Info{
Display: "Input Name",
Category: "html",
Description: "Random HTML input field name",
Description: "Attribute used to define the name of an input element in web forms",
Example: "first_name",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -108,7 +108,7 @@ func addHtmlLookup() {
AddFuncLookup("svg", Info{
Display: "Image SVG",
Category: "html",
Description: "Random svg and ",
Description: "Scalable Vector Graphics used to display vector images in web content",
Example: `<svg width="369" height="289">
<rect fill="#4f2958" />
<polygon points="382,87 418,212 415,110" fill="#fffbb7" />
Expand Down

0 comments on commit 5bb2962

Please sign in to comment.