Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert text format to html tag #18

Closed
loudoweb opened this issue Jan 27, 2017 · 4 comments
Closed

Convert text format to html tag #18

loudoweb opened this issue Jan 27, 2017 · 4 comments

Comments

@loudoweb
Copy link

loudoweb commented Jan 27, 2017

It would be great to export a formatted text like the following:

My text contains a bold word.

to:

My text contains a <b>bold</b> word or My text contains a <strong>bold</strong> word

Of course, when exporting to xml, it means that we should only propose this option when the option "Export columns as child elements" is checked to keep xml valid and add <![CDATA[]]> like this:
<![CDATA[My text contains a <b>bold</b> word]]>

Please consider this feature. Thanks for your addon.

@Synthoid
Copy link
Owner

Interesting idea. I've not tried to parse Google Sheets formatting before, so I'm not 100% sure this is easily possible, but I will definitely take a look.

@loudoweb
Copy link
Author

Hi,

I've opened a question on stackoverflow. For now, I'm unsure this is possible :/

@loudoweb
Copy link
Author

I've opened a feature request on Google apps script because it seems that we can't know precisely the format of the cell. Please vote.

@Synthoid
Copy link
Owner

Closing this issue as it cannot currently be accomplished with existing sheet functionality. If this becomes exposed later, I’ll take a crack at it.

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

No branches or pull requests

2 participants