diff --git a/src/Lean/Widget/InteractiveCode.lean b/src/Lean/Widget/InteractiveCode.lean index edff58cfd5..280ea1e53b 100644 --- a/src/Lean/Widget/InteractiveCode.lean +++ b/src/Lean/Widget/InteractiveCode.lean @@ -74,6 +74,8 @@ where TaggedText.tag t (go subTt) def ppExprTagged (e : Expr) (explicit : Bool := false) : MetaM CodeWithInfos := do + if pp.raw.get (← getOptions) then + return .text (toString e) let delab := open PrettyPrinter.Delaborator in if explicit then withOptionAtCurrPos pp.tagAppFns.name true do