rectorphp / rector-book-feedback

[BOOK] Repository for feedback from readers of Rector book, to improve it continuously
https://leanpub.com/rector-the-power-of-automated-refactoring
15 stars 2 forks source link

Copying the code doesn't work well #35

Closed gauravmak closed 10 months ago

gauravmak commented 3 years ago

When I copy the code from the pdf file, the formatting is broken. The use statements are completely off. Sample attached. (Page no 29)

Screenshot-from-2021-07-05-20-27-13

Loving the book so far, thanks.

TomasVotruba commented 3 years ago

Thanks for reporting :+1:


This seems broken just for the linked file:

Peek 2021-07-07 01-41


For other files the imports are quite allright:

Peek 2021-07-07 01-42


@matthiasnoback This might be some glitch in Leanpub. What do you think?

TomasVotruba commented 10 months ago

Hi, I'm dealing with suggestions before book for Rector 0.19 release next week.

I've tried to copy-paste the file contents and works well now :+1: