Title: Block theme export has different code
Last modified: February 4, 2024

---

# Block theme export has different code

 *  [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/block-theme-export-has-different-code/)
 * Hi,
 * I am developing a block theme and I create a zip package by using the block theme
   utiliy (zip package)
 * But when I compare the codes of zip package with original theme, some parts of
   the zip package are different than the original source.
 * For example:
 * Original:
 *     ```wp-block-code
       <!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var(--wp--custom--spacing--medium, 6rem)"}}}} /-->
       ```
   
 * The code conveted to in zip package:
 *     ```wp-block-code
       <!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var(\u002d\u002dwp\u002d\u002dcustom\u002d\u002dspacing\u002d\u002dmedium, 6rem)"}}}} /-->
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/block-theme-export-has-different-code/#post-17397036)
 * [@waleedwali](https://wordpress.org/support/users/waleedwali/)
   Hi,
 * Thank you for your reply,
   I used The “Export” feature in the Site Editor to create
   a zip package,Do you mean this or something else?I need to create a ZIP package
   based on current modifieds,Do those plugins do such things?Could you please mention
   the links of plugins?Thank you for your help
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/block-theme-export-has-different-code/#post-17397555)
 * The differences you see (the `\u002d\u002d` stuff) are of no consequence. It 
   just means the content was escaped in order to invalidate any malicious content
   that might have sneaked in. `\u002d` is just escaped hexcode for the `-` character.
   It’ll be interpreted the same as the original character.
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/block-theme-export-has-different-code/#post-17397574)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/)
   Thank you for your supportYes,
   Got it,
 * But I think it will decrease code readability and it makes it ugly 🙁

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Block theme export has different code’ is closed to new replies.

## Tags

 * [block](https://wordpress.org/support/topic-tag/block/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 5 replies
 * 3 participants
 * Last reply from: [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/block-theme-export-has-different-code/#post-17397574)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
