Fix newlines in markdown mermaid.js diagrams. (#19657) Current (broken):  Fixed: 
diff --git a/docs/website/docs/developers/general/testing-guide.md b/docs/website/docs/developers/general/testing-guide.md index 50957e2..fde5559 100644 --- a/docs/website/docs/developers/general/testing-guide.md +++ b/docs/website/docs/developers/general/testing-guide.md
@@ -438,7 +438,7 @@ ```mermaid graph LR - Import -. "\n(offline)" .-> Compile + Import -. "<br>(offline)" .-> Compile Compile --> Run ```
diff --git a/docs/website/docs/guides/ml-frameworks/onnx.md b/docs/website/docs/guides/ml-frameworks/onnx.md index d6134c2..f606431 100644 --- a/docs/website/docs/guides/ml-frameworks/onnx.md +++ b/docs/website/docs/guides/ml-frameworks/onnx.md
@@ -34,8 +34,8 @@ Compiled programs are used by the runtime. } - A["ONNX\n(protobuf)"] - B["MLIR\n(torch-mlir)"] + A["ONNX<br>(protobuf)"] + B["MLIR<br>(torch-mlir)"] C[IREE compiler] D[Runtime deployment]
diff --git a/docs/website/docs/guides/ml-frameworks/pytorch.md b/docs/website/docs/guides/ml-frameworks/pytorch.md index d19e4a9..f23d9eb 100644 --- a/docs/website/docs/guides/ml-frameworks/pytorch.md +++ b/docs/website/docs/guides/ml-frameworks/pytorch.md
@@ -285,7 +285,7 @@ } subgraph Python - compiledmodule("aot.CompiledModule\n\n- extend nn.Module\n- export globals\n- set shapes/dtypes") + compiledmodule("aot.CompiledModule<br><br>- extend nn.Module<br>- export globals<br>- set shapes/dtypes") export(["ExportOutput (MLIR)"]) compiledmodule -- "aot.export()" --> export end