Unable to upload product description with html
-
Hello,
After the update to WooCommerce 6.8.2 I’m unable to upload CSV file with product description that contains html code. This problem is on both live and local server.
Description contains some product description and a table. Here is the code from the description. As you can see, it’s nothing “special”, just a simple table.
<table id="additional-product-tab"> <tbody> <tr> <th>Tip i model proizvoda</th> <td>Dr?a? sa lupom-tre?a ruka</td> </tr> <tr> <th>Naziv i vrsta proizvoda</th> <td>Dr?a? sa lupom</td> </tr> <tr> <th>Uvoznik</th> <td>Elementa d.o.o., Subotica</td> </tr> <tr> <th>Zemlja porekla</th> <td>Kina</td> </tr><tr> <th>Zemlja uvoza</th> <td>Kina</td> </tr> <tr> <th>Prava potro?a?a</th> <td>Zagarantovana sva prava kupca po osnovu Zakona o za?titi potro?a?a</td> </tr> </tbody> </table>
I receive the message:
Sorry, you are not allowed to upload this file type.
After I remove html code from the product description, I can upload it without the problem.
On another local server, but not updated to latest version (it still has the WooCommerce 6.7.0) I can upload the same CSV file without any problem.
All 3 servers have WordPress 6.0.2.
Did anyone had similar problem?
Regards,
Nemanja
- The topic ‘Unable to upload product description with html’ is closed to new replies.