Changeset 16350 for branches/2915-AbsoluteSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4
- Timestamp:
- 12/07/18 23:18:54 (6 years ago)
- Location:
- branches/2915-AbsoluteSymbol
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2915-AbsoluteSymbol
- Property svn:mergeinfo changed
/trunk merged: 16333-16334,16341-16343
- Property svn:mergeinfo changed
-
branches/2915-AbsoluteSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Views merged: 16341-16342
- Property svn:mergeinfo changed
-
branches/2915-AbsoluteSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Plugin.cs.frame
r16332 r16350 24 24 using System.Text; 25 25 using HeuristicLab.PluginInfrastructure; 26 using System.Runtime.InteropServices; 27 using System.IO; 26 28 27 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views { … … 47 49 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 48 50 public class HeuristicLabProblemsDataAnalysisSymbolicViewsPlugin : PluginBase { 51 // HeuristicLab is marked with zone identifier 'Internet' after download. 52 // This propagates to all extracted files and can be checked in the file properties. 53 // IE prevents execution of MathJax JavaScript inside of untrusted html 54 // Therefore we need to programmatically unblock the displayModelFrame.html file before extracting. 55 // see http://engram404.net/programmatically-unblocking-downloaded-files/ 56 57 // for removing the Zone.Identifier alternative NTFS stream (effectively unblocking the file) 58 [DllImport("kernel32.dll", SetLastError = true)] 59 private static extern bool DeleteFile(string lpFileName); 60 61 public override void OnLoad() { 62 base.OnLoad(); 63 64 // unblock mathjax.zip () 65 DeleteFile(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "displayModelFrame.html:Zone.Identifier")); 66 } 49 67 } 50 68 } -
branches/2915-AbsoluteSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/displayModelFrame.html
r13984 r16350 7 7 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 8 8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 9 <meta name="viewport" content="width=device-width, initial-scale=1" >9 <meta name="viewport" content="width=device-width, initial-scale=1" /> 10 10 11 11 <!-- title change by HEAL --> … … 46 46 <hr> 47 47 </noscript> 48 <p id="model"> 48 <p id="model">$\cos(x^2)$ 49 49 </p> 50 50 </body>
Note: See TracChangeset
for help on using the changeset viewer.