diff --git a/hdrl/src/org/labkey/hdrl/HDRLController.java b/hdrl/src/org/labkey/hdrl/HDRLController.java index b82de77..b2a1d92 100644 --- a/hdrl/src/org/labkey/hdrl/HDRLController.java +++ b/hdrl/src/org/labkey/hdrl/HDRLController.java @@ -53,6 +53,7 @@ import org.labkey.api.security.permissions.InsertPermission; import org.labkey.api.security.permissions.ReadPermission; import org.labkey.api.settings.AdminConsole; +import org.labkey.api.util.HtmlString; import org.labkey.api.util.PageFlowUtil; import org.labkey.api.util.Path; import org.labkey.api.util.URLHelper; @@ -103,7 +104,7 @@ public ModelAndView getView(Object o, BindException errors) { VBox vbox = new VBox(); - HtmlView submitView = new HtmlView("New Test Request", PageFlowUtil.link("Submit new test request").href(new ActionURL(EditRequestAction.class, getViewContext().getContainer())).toString()); + HtmlView submitView = new HtmlView("New Test Request", HtmlString.of(PageFlowUtil.link("Submit new test request").href(new ActionURL(EditRequestAction.class, getViewContext().getContainer())).toString())); vbox.addView(submitView); UserSchema schema = QueryService.get().getUserSchema(getUser(), getContainer(), HDRLQuerySchema.NAME);