Remove deprecated Freemarker ?html built-in

Proprietary

Removes the deprecated ?html built-in from Freemarker templates. After migrating to Struts 6 with the latest Freemarker (which enables auto-escaping by default), the ?html built-in is no longer needed and should be removed. See the Struts 2.5 to 6.0 migration guide.

org.openrewrite.java.struts.migrate6.RemoveFreemarkerHtmlBuiltin
mod run . --recipe=org.openrewrite.java.struts.migrate6.RemoveFreemarkerHtmlBuiltin

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Find and replace ?html