[LyX/master] InsetLayout does not understand HTMLClass

Richard Kimberly Heck rikiheck at lyx.org
Sun Dec 4 22:39:50 UTC 2022


commit 053e858e2c3f9ff02bfc4e99666a936b6fa3c047
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sun Dec 4 16:39:44 2022 -0500

    InsetLayout does not understand HTMLClass
---
 lib/layouts/aastex.layout    |    2 +-
 lib/layouts/aguplus.inc      |    2 +-
 lib/layouts/apa.layout       |    2 +-
 lib/layouts/apax.inc         |    2 +-
 lib/layouts/bicaption.module |    2 +-
 lib/layouts/scrclass.inc     |    4 ++--
 lib/layouts/stdinsets.inc    |    8 ++++----
 7 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/lib/layouts/aastex.layout b/lib/layouts/aastex.layout
index af33b05..58b8b14 100644
--- a/lib/layouts/aastex.layout
+++ b/lib/layouts/aastex.layout
@@ -619,7 +619,7 @@ InsetLayout Caption:FigCaption
 			margin: 1ex;
 		}
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-figcaption"
+	HTMLAttr "class='float-caption float-caption-figcaption'"
 End
 
 
diff --git a/lib/layouts/aguplus.inc b/lib/layouts/aguplus.inc
index ce90f53..7453b2a 100644
--- a/lib/layouts/aguplus.inc
+++ b/lib/layouts/aguplus.inc
@@ -222,7 +222,7 @@ InsetLayout Caption:Table
 			margin: 1ex;
 		}
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-table"
+	HTMLAttr "class='float-caption float-caption-table'"
 End
 
 
diff --git a/lib/layouts/apa.layout b/lib/layouts/apa.layout
index 409f160..57af913 100644
--- a/lib/layouts/apa.layout
+++ b/lib/layouts/apa.layout
@@ -300,7 +300,7 @@ InsetLayout Caption:Centered
 			margin: 1ex;
 		}
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-centered"
+	HTMLAttr "class='float-caption float-caption-centered'"
 End
 
 
diff --git a/lib/layouts/apax.inc b/lib/layouts/apax.inc
index abdb629..9a51d37 100644
--- a/lib/layouts/apax.inc
+++ b/lib/layouts/apax.inc
@@ -399,7 +399,7 @@ InsetLayout Caption:Centered
 			margin: 1ex;
 		}
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-centered"
+	HTMLAttr "class='float-caption float-caption-centered'"
 End
 
 
diff --git a/lib/layouts/bicaption.module b/lib/layouts/bicaption.module
index cbe2a8b..d3b258a 100644
--- a/lib/layouts/bicaption.module
+++ b/lib/layouts/bicaption.module
@@ -62,5 +62,5 @@ InsetLayout Caption:Bicaption
 	   margin: 1ex;
 	  }
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-bicaption"
+	HTMLAttr "class='float-caption float-caption-bicaption'"
 End
diff --git a/lib/layouts/scrclass.inc b/lib/layouts/scrclass.inc
index 0538909..b1c1c9f 100644
--- a/lib/layouts/scrclass.inc
+++ b/lib/layouts/scrclass.inc
@@ -335,7 +335,7 @@ InsetLayout Caption:Above
 			margin: 1ex;
 		}
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-above"
+	HTMLAttr "class='float-caption float-caption-above'"
 End
 
 
@@ -360,7 +360,7 @@ InsetLayout Caption:Below
 			margin: 1ex;
 		}
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-below"
+	HTMLAttr "class='float-caption float-caption-below'"
 End
 
 
diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc
index 364afe6..cac502d 100644
--- a/lib/layouts/stdinsets.inc
+++ b/lib/layouts/stdinsets.inc
@@ -666,7 +666,7 @@ InsetLayout Info:menu
 	Font
 	  Family              sans
 	EndFont
-	HTMLClass             "info menu'"
+	HTMLAttr             "class='info menu'"
 	HTMLStyle
 		span.menu { font-family: sans-serif; }
 	EndHTMLStyle
@@ -685,7 +685,7 @@ InsetLayout Info:shortcut
 	Font
 	  Family              sans
 	EndFont
-	HTMLCLass             "info shortcut"
+	HTMLAttr             "class='info shortcut'"
 	HTMLStyle
 		span.shortcut { font-family: sans-serif; }
 	EndHTMLStyle
@@ -706,7 +706,7 @@ InsetLayout Info:shortcuts
 	Font
 	  Family              sans
 	EndFont
-	HTMLClass             "info shortcut"
+	HTMLAttr             "class='info shortcut'"
 	HTMLStyle
 		span.shortcuts { font-family: sans-serif; }
 	EndHTMLStyle
@@ -737,7 +737,7 @@ InsetLayout Caption:Standard
 			margin: 1ex;
 		}
 	EndHTMLStyle
-	HTMLClass "float-caption float-caption-standard"
+	HTMLAttr "class='float-caption float-caption-standard'"
 End
 
 


More information about the lyx-cvs mailing list