Comments (1)
Previously we were wrapping expanded inlines with a <span class="__inlineMacro">
, but if the expansion contains any block-level elements (as sections do) that span tag disappears from the DOM -- presumably because it's illogical -- and with it goes the __inlineMacro
class specifier.
With this fix we detect if the expansion html contains any block-level elements, and if it does, we wrap it in a <div class="__inlineMacro">
instead.
from fractive.
Related Issues (20)
- Pipe source maps through to UglifyJS
- UglifyJS can fail silently HOT 1
- Default template has a slight first-line indent in pre blocks
- Template links can use {examples} macro but maybe that should be {builtin}
- Implement some form of automated testing
- Set up contributors wiki
- Bad error message when function link function is undefined HOT 2
- Variable macros expanded inside of code sections shouldn't interrupt the formatting
- Escape sequence to show {alias} in text is FUBAR HOT 3
- Link behavior objects/Syntactic sugar for phrase-cycling links. HOT 3
- Macros with empty replaceWith are not recognized.
- Start should be a reserved section tag, not a section name HOT 1
- Create a logo and hook it up to OpenGraph
- The "Fractive projects" link in README.md doesn't work
- README.md claims that building will place a binary in node_modules, but it doesn't HOT 1
- Call functions with Bash-style arguments HOT 2
- Invalid import for XRegExp causes build to fail
- `fractive help` doesn't work on headless Ubuntu HOT 3
- Heading-styled links
- Basic template "restart" and "toggle history" links have no effect
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 fractive.