How to export page without HTML code
-
I can export posts just fine with Aspose, but when I export a page all the html is included in the Word file. Is there a way to export only the text?
-
If there’s a way to export without code, please write back. But I did find a way to delete all the code in the Word file:
Use Find and Replace
click on Use Wildcards
In the Find field enter \[*\]
Replace field: leave blank
Replace allPlease ensure you are using the latest version(6.3.1) of the plugin and enabled ” Pre-process shortcodes before exporting document” option in the plugin setting page. Hopefully, it will resolve the issue. Otherwise, please share a sample Page code(HTML Code). We will investigate the issue and will update you accordingly.
Thank you for your reply. “Pre-process shortcodes before exporting document” was enabled, but it still exported the codes in the page (this only happens with pages, not posts). Here is a sample of the code from the page:
<p style=”text-align: center;”>A provocative conversation
between feminist funders, thinkers, and disruptors</p>
[/vc_column_text][/vc_column][/vc_row][vc_row full_width=”stretch_row” css=”.vc_custom_1652375175734{background-color: #ce3183 !important;}” local_scroll_id=”section-provocations-intro” el_id=”section-provocations-intro”][vc_column][vc_empty_space height=”50px”][vc_row_inner][vc_column_inner width=”1/2″][vc_column_text css_animation=”none” responsive_text=”true” color=”#ffffff” css=”.vc_custom_1648723456989{padding-bottom: 40px !important;}” font_family=”Muro” font_size=”60″ el_class=”provocation-section-title” text_transform=”uppercase”]
<p style=”text-align: left;”>INTRO</p>
[/vc_column_text][vc_column_text color=”#ffffff”]At the 2021 EDGE Funders Alliance Annual Conference, JASS invited seven women of color, primarily Black women leaders within philanthropy, to join a candid conversation on what the political moment is asking of funders. Boldly, they posed some fundamental questions that went to the heart of the matter:[/vc_column_text][vc_empty_space height=”50px”][/vc_column_inner][vc_column_inner width=”1/2″][vcex_image image_id=”16021″][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner width=”1/2″][vc_single_image image=”15356″][/vc_column_inner][vc_column_inner width=”1/2″][vc_empty_space height=”50px”][vc_column_text color=”#ffffff” css=”.vc_custom_1648746502864{margin-top: 20px !important;}”]What’s holding us back from funding better, faster, and more impactfully to make a big difference?
I also get the following error messages every time, although I can click OK and Yes and get to the Word file:
“We’re sorry. We can’t open <filename> because we found a problem with its contents.” After clicking OK, the following error message pops up:
“We found unreadable content in <filename>. Do you want to recover the contents of this document? If you trust the source of this document, click Yes.”
“Pre-process shortcodes before exporting document” was enabled, but it still exported the codes in the page (this only happens with pages, not posts).
Thanks for sharing the sample code. I have noticed the issue and logged an internal ticket to resolve the issue. We will notify you as soon as it is resolved.
The topic ‘How to export page without HTML code’ is closed to new replies.