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

fix(export): remove prefix spaces when no-indent #10807

Merged
merged 3 commits into from Jan 12, 2024
Merged

Conversation

RCmerci
Copy link
Contributor

@RCmerci RCmerci commented Jan 4, 2024

when export with "no-indent" style
export:

- 1
  2
  - 3
    4

result:

1
2
3
4

before-fix:

1
  2  
3
	  4

@andelf
Copy link
Collaborator

andelf commented Jan 5, 2024

My experimental:

- asdfjasd
  yes  
  but  
	- aslkdfja
	  ```c
	  #include <iosteam>
	  
	  void mian() {
	    return;
	  }
	  ```
	- asldkjf
		- asldkfj
asldkjf
asldkfj

The code block is still buggy.

@xyhp915 xyhp915 mentioned this pull request Jan 8, 2024
3 tasks
@RCmerci
Copy link
Contributor Author

RCmerci commented Jan 9, 2024

@andelf updated
export:

asdfjasd
yes
but
aslkdfja
```c
#include <iosteam>

void mian() {
  return;
}
```
asldkjf
asldkfj
asldkjf
asldkfj

Copy link
Collaborator

@andelf andelf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified. LGTM.

@andelf andelf merged commit facc75f into master Jan 12, 2024
6 checks passed
@andelf andelf deleted the fix/export-no-indent branch January 12, 2024 06:26
@dmytrodubinin
Copy link

Tested in latest 0.10.4-alpha+nightly.20240117, my bug is still relevant: #10848

@RCmerci
Copy link
Contributor Author

RCmerci commented Jan 17, 2024

@andelf @dmytrodubinin another fix here #10866

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

Successfully merging this pull request may close these issues.

None yet

3 participants