Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] wbootstrap: use xhtml for Label

  • Loading branch information...
commit ae1760966e7d98e239e96156a0520c670536999a 1 parent 23bd00e
@Aqua-Ye Aqua-Ye authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 stdlib/widgets/bootstrap/bootstrap.opa
View
4 stdlib/widgets/bootstrap/bootstrap.opa
@@ -387,7 +387,7 @@ WBootstrap = {{
Label = {{
- make_label(content:string) =
+ make_label(content:xhtml) =
<span>{content}</span> |> Xhtml.update_class("label", _)
success = Xhtml.update_class("label-success", _)
@@ -399,7 +399,7 @@ WBootstrap = {{
/**
* Create a label
*/
- make(text:string, importance:WBootstrap.Label.importance) =
+ make(text:xhtml, importance:WBootstrap.Label.importance) =
lb = make_label(text)
lb = match importance
{default} -> lb
Please sign in to comment.
Something went wrong with that request. Please try again.