Skip to content

Commit

Permalink
Merge pull request #309 from se-omar/html-descs
Browse files Browse the repository at this point in the history
improve html descs
  • Loading branch information
brianvoe authored Jan 15, 2024
2 parents 502a759 + 5bb2962 commit b93f01b
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 b93f01b

Please sign in to comment.