danielgtaylor / danielgtaylor/aglio
chopping off last chars in line and adding to next line...
- Dominant language
- CoffeeScript
- Stars
- 4.7k
- Forks
- 471
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I've just loaded (#newbie) node.js, protagonist and aglio (all downloaded today). I'm using the example.apib included here and run it using flatly as in `aglio -t flatly -i example.apib -s`. I do get some warnings on Transformer.coffee -- snip --
```
Server started on http://127.0.0.1:3000/
Rendering example.apib
Transformers.coffee is deprecated, you must replace the :coffee jade filter, with :coffee-script and install jstransform
er-coffee-script before you update to jade@2.0.0.
Transformers.stylus is deprecated, to continue using the :stylus jade filter after jade@2.0.0, you will need to install
jstransformer-stylus.
```
Going to local host port 3000 renders the HTML but somehow the last 2 chars on every line gets "chopped off" and place on the following line. For instance see the following clip:

Notice that the "le" in "subtitle" is chopped off and placed on line below.
I did get some type errors when aglio was built particularly with declarations of 'v8::String' from v8.h... not sure if I need to fix that. If so, how?
Else, how to debug this ? Please advise.
Thanks,
S-
BTW: I love this tool -- Thank you !!! _bow_
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with example.apib using `aglio -t flatly -i example.apib -s`, then inspect the generated HTML and the reported Transformer.coffee warnings. Compare the rendered line wrapping with the source text, and determine whether the build-time v8::String errors or deprecated Jade filters are involved; done means the final two characters remain on their original lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript, node.js, stylus
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100