Skip to content

Commit

Permalink
remove usages of HtmlView(String,String)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-matthewb committed Dec 15, 2023
1 parent 014eced commit 88954a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hdrl/src/org/labkey/hdrl/HDRLController.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 88954a4

Please sign in to comment.