Procházet zdrojové kódy

Merge pull request #16588 from overleaf/mj-usepackage-fix

[web] Copy single backslash in column width modal

GitOrigin-RevId: ee3e3eadac067dac1d955adc04709e8ab3121a59
Mathias Jakobsen před 2 roky
rodič
revize
7c3c3047fe

+ 3 - 1
services/web/frontend/js/features/source-editor/components/table-generator/toolbar/column-width-modal/modal.tsx

@@ -190,7 +190,9 @@ const ColumnWidthModalBody = () => {
               \usepackage{'{'}array{'}'}
             </code>
             <CopyToClipboard
-              content="\\usepackage{array} % required for text wrapping in tables"
+              content={
+                '\\usepackage{array} % required for text wrapping in tables'
+              }
               tooltipId="table-generator-array-copy"
             />
           </div>