Comments (6)
In my opinion this is not an issue. That is actually what is expected by Perl POD. Any of the POD directives (lines that start with =
) should have and empty line before and after them.
This is caused because I removed the newline from the eval call. You will need to take your pick of what is more important. Do you want errors and warning reported at the correct line number in the macro file, or do you want this to work? In my opinion, this behavior is not important (particularly since it is invalid POD in any case).
from pg.
Note also that if you run perltidy
on a Perl file that starts with a POD directive with no empty line before it (like =head
), then it will add an empty line. You should run perltidy
on your macro files anyway.
from pg.
I'm okay with this not being a real issue due to I'm using invalid POD. I just had multiple macros stop working for me that did work in 2.18 because I didn't realize there had to be a new line and it took me a while to figure out what the actual problem was with the macro files (the errors were strange but didn't actually point me to the issue with the POD). I may not be the only person who has custom macro files like this that may break in the upgrade from 2.18.
from pg.
I added a note to the release notes.
from pg.
Note that with pull request #962 the macro will compile, but a warning will be emitted.
from pg.
Fixed with #962.
from pg.
Related Issues (20)
- Bug when a matrix Math Object is reused as an answer HOT 10
- PGML.pl has lines that should have been removed. HOT 1
- checkboxlist within a RadioMultiAnswer HOT 4
- Using upToConstant with complex numbers HOT 4
- keyboard issue with GraphTool HOT 8
- inconsistency in multiple choice macros HOT 4
- run-perltidy deletes .bak files
- Error answers now are escaped when they shouldn't be. HOT 1
- Cropping from pgfplots is not always working for final SVG output HOT 13
- variables declared with `my` lead to errors HOT 1
- student answers get spaces normalized
- iframeResizer, feedback popover, and mqeditor HOT 16
- Updating AnswerFormatHelp.pl HOT 5
- inserting an answer between two multiAnswer inputs HOT 13
- issue with `q` and parsing in PGML HOT 9
- PGML bold within a word HOT 3
- answer hints in multiple choice HOT 13
- CheckboxList reveals the correct answers HOT 3
- MathQuill toolbar placement in a relatively positioned parent - bug when in an RTL course. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg.