gdocs2md-html icon indicating copy to clipboard operation
gdocs2md-html copied to clipboard

Getting an error in running the latest version of the script.

Open Sristuff opened this issue 10 years ago • 7 comments

Hi Trying out the script for a document filled with Tables and images and got the following error.

Unfortunately it is not saying which line is at fault in the document for me to fix it or temporarily comment/remove it out.

Thanks Srihari

Message details TypeError: Cannot find function getIndentFirstLine in object Table

Sristuff avatar Nov 26 '15 12:11 Sristuff

Hi,

I am also getting this same issue when trying to run the script. Is there any work around?

oweizman avatar Sep 09 '16 00:09 oweizman

Me either

zhukovgreen avatar Oct 04 '16 13:10 zhukovgreen

yes i can confirm this issue still exists

grahamlittle avatar Mar 31 '17 12:03 grahamlittle

same here, did anybody find the reason already?

jtheuer avatar Mar 31 '17 12:03 jtheuer

yep, happened to me too!

jftesser avatar May 03 '17 20:05 jftesser

I found that setting the values of ind_f, ind_s and ind_e to 0 worked.

In other words, changing these lines:

  var ind_f = element.getIndentFirstLine();
  var ind_s = element.getIndentStart();
  var ind_e = element.getIndentEnd();

to

  var ind_f = 0;
  var ind_s = 0;
  var ind_e = 0;

katharing avatar May 05 '17 14:05 katharing

My export is succeeding now, tables showing up as html. Thanks for the fix!

jftesser avatar May 05 '17 15:05 jftesser