clean up injecthtml
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b8d6cd45 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b8d6cd45 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b8d6cd45 Branch: refs/heads/develop Commit: b8d6cd459931c6acf4a8dc4321cfd15cd0b1f10e Parents: 264ae6b Author: Alex Harui <[email protected]> Authored: Thu Dec 10 08:34:51 2015 -0800 Committer: Alex Harui <[email protected]> Committed: Thu Dec 10 08:34:51 2015 -0800 ---------------------------------------------------------------------- .../org/apache/flex/compiler/internal/graph/GoogDepsWriter.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b8d6cd45/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java ---------------------------------------------------------------------- diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java index 4e00648..21ec7b6 100644 --- a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java +++ b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java @@ -594,6 +594,9 @@ public class GoogDepsWriter { } if (inInjectHTML) { + s = s.trim(); + if (s.startsWith("*")) + s = s.substring(1); additionalHTML.add(s); continue; }
