@@ -26,11 +26,11 @@ import type {
} from '@/types/slides'
const convertFontSizePtToPx = (html: string, ratio: number) => {
- /*
+ return html;
return html.replace(/font-size:\s*([\d.]+)pt/g, (match, p1) => {
return `font-size: ${(parseFloat(p1) * ratio).toFixed(1)}px`
})
- */
+
}
export default () => {