Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Uncaught TypeError: Cannot read property 'replace' of undefined in the extractStyle function (font-family attribute). If I don't have this attribute in my image then error is thrown. The line 118 must be replaced by : family: typeof node.attrs.font === 'undefined' ? null : node.attrs.font.replace(/^.?"(\w+)".$/, '$1'), #49

Open
nit23uec opened this issue Aug 4, 2015 · 1 comment

Comments

@nit23uec
Copy link
Contributor

nit23uec commented Aug 4, 2015

No description provided.

@MarkMaldaba
Copy link

Is this a duplicate of issue #48?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants